|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.ViewManager.ViewManager</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.ViewManager.ViewManager</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the view manager base class. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#ViewManager">ViewManager</a></td> |
|
25 <td>Base class inherited by all specific view manager classes.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="ViewManager" ID="ViewManager"></a> |
|
36 <h2>ViewManager</h2> |
|
37 |
|
38 <p> |
|
39 Base class inherited by all specific view manager classes. |
|
40 </p> |
|
41 <p> |
|
42 It defines the interface to be implemented by specific |
|
43 view manager classes and all common methods. |
|
44 </p> |
|
45 <h3>Signals</h3> |
|
46 <dl> |
|
47 |
|
48 <dt>astViewerStateChanged(bool)</dt> |
|
49 <dd> |
|
50 emitted to signal a change in the |
|
51 AST viewer state |
|
52 </dd> |
|
53 <dt>bookmarkToggled(Editor)</dt> |
|
54 <dd> |
|
55 emitted when a bookmark is toggled |
|
56 </dd> |
|
57 <dt>breakpointToggled(Editor)</dt> |
|
58 <dd> |
|
59 emitted when a breakpoint is toggled |
|
60 </dd> |
|
61 <dt>changeCaption(str)</dt> |
|
62 <dd> |
|
63 emitted if a change of the caption is necessary |
|
64 </dd> |
|
65 <dt>checkActions(Editor)</dt> |
|
66 <dd> |
|
67 emitted when some actions should be checked |
|
68 for their status |
|
69 </dd> |
|
70 <dt>cursorChanged(Editor)</dt> |
|
71 <dd> |
|
72 emitted after the cursor position of the |
|
73 active window has changed |
|
74 </dd> |
|
75 <dt>disViewerStateChanged(bool)</dt> |
|
76 <dd> |
|
77 emitted to signal a change in the |
|
78 DIS viewer state |
|
79 </dd> |
|
80 <dt>editorChanged(str)</dt> |
|
81 <dd> |
|
82 emitted when the current editor has changed |
|
83 </dd> |
|
84 <dt>editorChangedEd(Editor)</dt> |
|
85 <dd> |
|
86 emitted when the current editor has changed |
|
87 </dd> |
|
88 <dt>editorClosed(str)</dt> |
|
89 <dd> |
|
90 emitted just before an editor window gets closed |
|
91 </dd> |
|
92 <dt>editorClosedEd(Editor)</dt> |
|
93 <dd> |
|
94 emitted just before an editor window gets |
|
95 closed |
|
96 </dd> |
|
97 <dt>editorDoubleClickedEd(Editor, position, buttons)</dt> |
|
98 <dd> |
|
99 emitted to signal |
|
100 a mouse double click in an editor |
|
101 </dd> |
|
102 <dt>editorLanguageChanged(Editor)</dt> |
|
103 <dd> |
|
104 emitted to signal a change of an |
|
105 editor's language |
|
106 </dd> |
|
107 <dt>editorLineChanged(str,int)</dt> |
|
108 <dd> |
|
109 emitted to signal a change of an |
|
110 editor's current line (line is given one based) |
|
111 </dd> |
|
112 <dt>editorLineChangedEd(Editor,int)</dt> |
|
113 <dd> |
|
114 emitted to signal a change of an |
|
115 editor's current line (line is given one based) |
|
116 </dd> |
|
117 <dt>editorOpened(str)</dt> |
|
118 <dd> |
|
119 emitted after an editor window was opened |
|
120 </dd> |
|
121 <dt>editorOpenedEd(Editor)</dt> |
|
122 <dd> |
|
123 emitted after an editor window was opened |
|
124 </dd> |
|
125 <dt>editorRenamed(str)</dt> |
|
126 <dd> |
|
127 emitted after an editor was renamed |
|
128 </dd> |
|
129 <dt>editorRenamedEd(Editor)</dt> |
|
130 <dd> |
|
131 emitted after an editor was renamed |
|
132 </dd> |
|
133 <dt>editorSaved(str)</dt> |
|
134 <dd> |
|
135 emitted after an editor window was saved |
|
136 </dd> |
|
137 <dt>editorSavedEd(Editor)</dt> |
|
138 <dd> |
|
139 emitted after an editor window was saved |
|
140 </dd> |
|
141 <dt>editorTextChanged(Editor)</dt> |
|
142 <dd> |
|
143 emitted to signal a change of an |
|
144 editor's text |
|
145 </dd> |
|
146 <dt>lastEditorClosed()</dt> |
|
147 <dd> |
|
148 emitted after the last editor window was closed |
|
149 </dd> |
|
150 <dt>previewStateChanged(bool)</dt> |
|
151 <dd> |
|
152 emitted to signal a change in the |
|
153 preview state |
|
154 </dd> |
|
155 <dt>syntaxerrorToggled(Editor)</dt> |
|
156 <dd> |
|
157 emitted when a syntax error is toggled |
|
158 </dd> |
|
159 </dl> |
|
160 <h3>Derived from</h3> |
|
161 QWidget |
|
162 <h3>Class Attributes</h3> |
|
163 |
|
164 <table> |
|
165 <tr><td>None</td></tr> |
|
166 </table> |
|
167 <h3>Class Methods</h3> |
|
168 |
|
169 <table> |
|
170 <tr><td>None</td></tr> |
|
171 </table> |
|
172 <h3>Methods</h3> |
|
173 |
|
174 <table> |
|
175 |
|
176 <tr> |
|
177 <td><a href="#ViewManager.__init__">ViewManager</a></td> |
|
178 <td>Constructor</td> |
|
179 </tr> |
|
180 <tr> |
|
181 <td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td> |
|
182 <td>Private method to add the current file to the list of bookmarked files.</td> |
|
183 </tr> |
|
184 <tr> |
|
185 <td><a href="#ViewManager.__astViewer">__astViewer</a></td> |
|
186 <td>Private slot to handle a change of the AST Viewer selection state.</td> |
|
187 </tr> |
|
188 <tr> |
|
189 <td><a href="#ViewManager.__autosave">__autosave</a></td> |
|
190 <td>Private slot to save the contents of all editors automatically.</td> |
|
191 </tr> |
|
192 <tr> |
|
193 <td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td> |
|
194 <td>Private method to handle the bookmark selected signal.</td> |
|
195 </tr> |
|
196 <tr> |
|
197 <td><a href="#ViewManager.__bookmarkToggled">__bookmarkToggled</a></td> |
|
198 <td>Private slot to handle the bookmarkToggled signal.</td> |
|
199 </tr> |
|
200 <tr> |
|
201 <td><a href="#ViewManager.__breakpointToggled">__breakpointToggled</a></td> |
|
202 <td>Private slot to handle the breakpointToggled signal.</td> |
|
203 </tr> |
|
204 <tr> |
|
205 <td><a href="#ViewManager.__changeMarkersUpdated">__changeMarkersUpdated</a></td> |
|
206 <td>Private slot to handle the changeMarkersUpdated signal.</td> |
|
207 </tr> |
|
208 <tr> |
|
209 <td><a href="#ViewManager.__clearAllBookmarks">__clearAllBookmarks</a></td> |
|
210 <td>Private method to handle the clear all bookmarks action.</td> |
|
211 </tr> |
|
212 <tr> |
|
213 <td><a href="#ViewManager.__clearAllFolds">__clearAllFolds</a></td> |
|
214 <td>Private method to handle the clear all folds action.</td> |
|
215 </tr> |
|
216 <tr> |
|
217 <td><a href="#ViewManager.__clearAllSyntaxErrors">__clearAllSyntaxErrors</a></td> |
|
218 <td>Private method to handle the clear all syntax errors action.</td> |
|
219 </tr> |
|
220 <tr> |
|
221 <td><a href="#ViewManager.__clearAllWarnings">__clearAllWarnings</a></td> |
|
222 <td>Private method to handle the clear all warnings action.</td> |
|
223 </tr> |
|
224 <tr> |
|
225 <td><a href="#ViewManager.__clearBookmarked">__clearBookmarked</a></td> |
|
226 <td>Private method to clear the bookmarked files menu.</td> |
|
227 </tr> |
|
228 <tr> |
|
229 <td><a href="#ViewManager.__connectEditor">__connectEditor</a></td> |
|
230 <td>Private method to establish all editor connections.</td> |
|
231 </tr> |
|
232 <tr> |
|
233 <td><a href="#ViewManager.__convertEOL">__convertEOL</a></td> |
|
234 <td>Private method to handle the convert line end characters action.</td> |
|
235 </tr> |
|
236 <tr> |
|
237 <td><a href="#ViewManager.__coverageMarkersShown">__coverageMarkersShown</a></td> |
|
238 <td>Private slot to handle the coverageMarkersShown signal.</td> |
|
239 </tr> |
|
240 <tr> |
|
241 <td><a href="#ViewManager.__cursorChanged">__cursorChanged</a></td> |
|
242 <td>Private slot to handle the cursorChanged signal.</td> |
|
243 </tr> |
|
244 <tr> |
|
245 <td><a href="#ViewManager.__disViewer">__disViewer</a></td> |
|
246 <td>Private slot to handle a change of the DIS Viewer selection state.</td> |
|
247 </tr> |
|
248 <tr> |
|
249 <td><a href="#ViewManager.__editAutoComplete">__editAutoComplete</a></td> |
|
250 <td>Private method to handle the autocomplete action.</td> |
|
251 </tr> |
|
252 <tr> |
|
253 <td><a href="#ViewManager.__editAutoCompleteFromAPIs">__editAutoCompleteFromAPIs</a></td> |
|
254 <td>Private method to handle the autocomplete from APIs action.</td> |
|
255 </tr> |
|
256 <tr> |
|
257 <td><a href="#ViewManager.__editAutoCompleteFromAll">__editAutoCompleteFromAll</a></td> |
|
258 <td>Private method to handle the autocomplete from All action.</td> |
|
259 </tr> |
|
260 <tr> |
|
261 <td><a href="#ViewManager.__editAutoCompleteFromDoc">__editAutoCompleteFromDoc</a></td> |
|
262 <td>Private method to handle the autocomplete from document action.</td> |
|
263 </tr> |
|
264 <tr> |
|
265 <td><a href="#ViewManager.__editBookmarked">__editBookmarked</a></td> |
|
266 <td>Private method to edit the list of bookmarked files.</td> |
|
267 </tr> |
|
268 <tr> |
|
269 <td><a href="#ViewManager.__editBoxComment">__editBoxComment</a></td> |
|
270 <td>Private method to handle the box comment action.</td> |
|
271 </tr> |
|
272 <tr> |
|
273 <td><a href="#ViewManager.__editComment">__editComment</a></td> |
|
274 <td>Private method to handle the comment action.</td> |
|
275 </tr> |
|
276 <tr> |
|
277 <td><a href="#ViewManager.__editCopy">__editCopy</a></td> |
|
278 <td>Private method to handle the copy action.</td> |
|
279 </tr> |
|
280 <tr> |
|
281 <td><a href="#ViewManager.__editCut">__editCut</a></td> |
|
282 <td>Private method to handle the cut action.</td> |
|
283 </tr> |
|
284 <tr> |
|
285 <td><a href="#ViewManager.__editDelete">__editDelete</a></td> |
|
286 <td>Private method to handle the delete action.</td> |
|
287 </tr> |
|
288 <tr> |
|
289 <td><a href="#ViewManager.__editDeselectAll">__editDeselectAll</a></td> |
|
290 <td>Private method to handle the select all action.</td> |
|
291 </tr> |
|
292 <tr> |
|
293 <td><a href="#ViewManager.__editIndent">__editIndent</a></td> |
|
294 <td>Private method to handle the indent action.</td> |
|
295 </tr> |
|
296 <tr> |
|
297 <td><a href="#ViewManager.__editInsertDocstring">__editInsertDocstring</a></td> |
|
298 <td>Private method to insert a docstring.</td> |
|
299 </tr> |
|
300 <tr> |
|
301 <td><a href="#ViewManager.__editJoin">__editJoin</a></td> |
|
302 <td>Private method to handle the join action.</td> |
|
303 </tr> |
|
304 <tr> |
|
305 <td><a href="#ViewManager.__editPaste">__editPaste</a></td> |
|
306 <td>Private method to handle the paste action.</td> |
|
307 </tr> |
|
308 <tr> |
|
309 <td><a href="#ViewManager.__editProjectPEL">__editProjectPEL</a></td> |
|
310 <td>Private slot to edit the project exception list.</td> |
|
311 </tr> |
|
312 <tr> |
|
313 <td><a href="#ViewManager.__editProjectPWL">__editProjectPWL</a></td> |
|
314 <td>Private slot to edit the project word list.</td> |
|
315 </tr> |
|
316 <tr> |
|
317 <td><a href="#ViewManager.__editRedo">__editRedo</a></td> |
|
318 <td>Private method to handle the redo action.</td> |
|
319 </tr> |
|
320 <tr> |
|
321 <td><a href="#ViewManager.__editRevert">__editRevert</a></td> |
|
322 <td>Private method to handle the revert action.</td> |
|
323 </tr> |
|
324 <tr> |
|
325 <td><a href="#ViewManager.__editSelectAll">__editSelectAll</a></td> |
|
326 <td>Private method to handle the select all action.</td> |
|
327 </tr> |
|
328 <tr> |
|
329 <td><a href="#ViewManager.__editSelectBrace">__editSelectBrace</a></td> |
|
330 <td>Private method to handle the select to brace action.</td> |
|
331 </tr> |
|
332 <tr> |
|
333 <td><a href="#ViewManager.__editShowCallTips">__editShowCallTips</a></td> |
|
334 <td>Private method to handle the calltips action.</td> |
|
335 </tr> |
|
336 <tr> |
|
337 <td><a href="#ViewManager.__editShowCodeInfo">__editShowCodeInfo</a></td> |
|
338 <td>Private method to handle the code info action.</td> |
|
339 </tr> |
|
340 <tr> |
|
341 <td><a href="#ViewManager.__editSmartIndent">__editSmartIndent</a></td> |
|
342 <td>Private method to handle the smart indent action.</td> |
|
343 </tr> |
|
344 <tr> |
|
345 <td><a href="#ViewManager.__editSortSelectedLines">__editSortSelectedLines</a></td> |
|
346 <td>Private slot to sort the selected lines.</td> |
|
347 </tr> |
|
348 <tr> |
|
349 <td><a href="#ViewManager.__editSpellingDictionary">__editSpellingDictionary</a></td> |
|
350 <td>Private slot to edit the given spelling dictionary.</td> |
|
351 </tr> |
|
352 <tr> |
|
353 <td><a href="#ViewManager.__editStreamComment">__editStreamComment</a></td> |
|
354 <td>Private method to handle the stream comment action.</td> |
|
355 </tr> |
|
356 <tr> |
|
357 <td><a href="#ViewManager.__editToggleComment">__editToggleComment</a></td> |
|
358 <td>Private method to handle the toggle comment action.</td> |
|
359 </tr> |
|
360 <tr> |
|
361 <td><a href="#ViewManager.__editUncomment">__editUncomment</a></td> |
|
362 <td>Private method to handle the uncomment action.</td> |
|
363 </tr> |
|
364 <tr> |
|
365 <td><a href="#ViewManager.__editUndo">__editUndo</a></td> |
|
366 <td>Private method to handle the undo action.</td> |
|
367 </tr> |
|
368 <tr> |
|
369 <td><a href="#ViewManager.__editUnindent">__editUnindent</a></td> |
|
370 <td>Private method to handle the unindent action.</td> |
|
371 </tr> |
|
372 <tr> |
|
373 <td><a href="#ViewManager.__editUserPEL">__editUserPEL</a></td> |
|
374 <td>Private slot to edit the user exception list.</td> |
|
375 </tr> |
|
376 <tr> |
|
377 <td><a href="#ViewManager.__editUserPWL">__editUserPWL</a></td> |
|
378 <td>Private slot to edit the user word list.</td> |
|
379 </tr> |
|
380 <tr> |
|
381 <td><a href="#ViewManager.__editorAutoCompletionAPIsAvailable">__editorAutoCompletionAPIsAvailable</a></td> |
|
382 <td>Private method to handle the availability of API autocompletion signal.</td> |
|
383 </tr> |
|
384 <tr> |
|
385 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> |
|
386 <td>Private method to send an editor command to the active window.</td> |
|
387 </tr> |
|
388 <tr> |
|
389 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> |
|
390 <td>Private slot to handle changes of an editor's configuration.</td> |
|
391 </tr> |
|
392 <tr> |
|
393 <td><a href="#ViewManager.__editorDoubleClicked">__editorDoubleClicked</a></td> |
|
394 <td>Private slot handling mouse double clicks of an editor.</td> |
|
395 </tr> |
|
396 <tr> |
|
397 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> |
|
398 <td>Private slot to handle the editorOpened signal.</td> |
|
399 </tr> |
|
400 <tr> |
|
401 <td><a href="#ViewManager.__editorRenamed">__editorRenamed</a></td> |
|
402 <td>Private slot to handle the editorRenamed signal.</td> |
|
403 </tr> |
|
404 <tr> |
|
405 <td><a href="#ViewManager.__editorSaved">__editorSaved</a></td> |
|
406 <td>Private slot to handle the editorSaved signal.</td> |
|
407 </tr> |
|
408 <tr> |
|
409 <td><a href="#ViewManager.__editorSelectionChanged">__editorSelectionChanged</a></td> |
|
410 <td>Private slot to handle changes of the current editors selection.</td> |
|
411 </tr> |
|
412 <tr> |
|
413 <td><a href="#ViewManager.__enableSpellingActions">__enableSpellingActions</a></td> |
|
414 <td>Private method to set the enabled state of the spelling actions.</td> |
|
415 </tr> |
|
416 <tr> |
|
417 <td><a href="#ViewManager.__eolPixmap">__eolPixmap</a></td> |
|
418 <td>Private method to get an EOL pixmap for an EOL string.</td> |
|
419 </tr> |
|
420 <tr> |
|
421 <td><a href="#ViewManager.__exportMenuTriggered">__exportMenuTriggered</a></td> |
|
422 <td>Private method to handle the selection of an export format.</td> |
|
423 </tr> |
|
424 <tr> |
|
425 <td><a href="#ViewManager.__findLocation">__findLocation</a></td> |
|
426 <td>Private method to handle the Find File action.</td> |
|
427 </tr> |
|
428 <tr> |
|
429 <td><a href="#ViewManager.__findNextWord">__findNextWord</a></td> |
|
430 <td>Private slot to find the next occurrence of the current word of the current editor.</td> |
|
431 </tr> |
|
432 <tr> |
|
433 <td><a href="#ViewManager.__findPrevWord">__findPrevWord</a></td> |
|
434 <td>Private slot to find the previous occurrence of the current word of the current editor.</td> |
|
435 </tr> |
|
436 <tr> |
|
437 <td><a href="#ViewManager.__goto">__goto</a></td> |
|
438 <td>Private method to handle the goto action.</td> |
|
439 </tr> |
|
440 <tr> |
|
441 <td><a href="#ViewManager.__gotoBrace">__gotoBrace</a></td> |
|
442 <td>Private method to handle the goto brace action.</td> |
|
443 </tr> |
|
444 <tr> |
|
445 <td><a href="#ViewManager.__gotoLastEditPosition">__gotoLastEditPosition</a></td> |
|
446 <td>Private method to move the cursor to the last edit position.</td> |
|
447 </tr> |
|
448 <tr> |
|
449 <td><a href="#ViewManager.__gotoNextMethodClass">__gotoNextMethodClass</a></td> |
|
450 <td>Private slot to go to the next Python/Ruby method or class definition.</td> |
|
451 </tr> |
|
452 <tr> |
|
453 <td><a href="#ViewManager.__gotoPreviousMethodClass">__gotoPreviousMethodClass</a></td> |
|
454 <td>Private slot to go to the previous Python/Ruby method or class definition.</td> |
|
455 </tr> |
|
456 <tr> |
|
457 <td><a href="#ViewManager.__gotoSyntaxError">__gotoSyntaxError</a></td> |
|
458 <td>Private method to handle the goto syntax error action.</td> |
|
459 </tr> |
|
460 <tr> |
|
461 <td><a href="#ViewManager.__initBookmarkActions">__initBookmarkActions</a></td> |
|
462 <td>Private method defining the user interface actions for the bookmarks commands.</td> |
|
463 </tr> |
|
464 <tr> |
|
465 <td><a href="#ViewManager.__initContextMenuExporters">__initContextMenuExporters</a></td> |
|
466 <td>Private method used to setup the Exporters sub menu.</td> |
|
467 </tr> |
|
468 <tr> |
|
469 <td><a href="#ViewManager.__initEditActions">__initEditActions</a></td> |
|
470 <td>Private method defining the user interface actions for the edit commands.</td> |
|
471 </tr> |
|
472 <tr> |
|
473 <td><a href="#ViewManager.__initFileActions">__initFileActions</a></td> |
|
474 <td>Private method defining the user interface actions for file handling.</td> |
|
475 </tr> |
|
476 <tr> |
|
477 <td><a href="#ViewManager.__initMacroActions">__initMacroActions</a></td> |
|
478 <td>Private method defining the user interface actions for the macro commands.</td> |
|
479 </tr> |
|
480 <tr> |
|
481 <td><a href="#ViewManager.__initSearchActions">__initSearchActions</a></td> |
|
482 <td>Private method defining the user interface actions for the search commands.</td> |
|
483 </tr> |
|
484 <tr> |
|
485 <td><a href="#ViewManager.__initSpellingActions">__initSpellingActions</a></td> |
|
486 <td>Private method to initialize the spell checking actions.</td> |
|
487 </tr> |
|
488 <tr> |
|
489 <td><a href="#ViewManager.__initViewActions">__initViewActions</a></td> |
|
490 <td>Private method defining the user interface actions for the view commands.</td> |
|
491 </tr> |
|
492 <tr> |
|
493 <td><a href="#ViewManager.__isEditorInfoSupportedEd">__isEditorInfoSupportedEd</a></td> |
|
494 <td>Private method to check, if an editor is supported by the documentation viewer.</td> |
|
495 </tr> |
|
496 <tr> |
|
497 <td><a href="#ViewManager.__lastEditPositionAvailable">__lastEditPositionAvailable</a></td> |
|
498 <td>Private slot to handle the lastEditPositionAvailable signal of an editor.</td> |
|
499 </tr> |
|
500 <tr> |
|
501 <td><a href="#ViewManager.__lastEditorClosed">__lastEditorClosed</a></td> |
|
502 <td>Private slot to handle the lastEditorClosed signal.</td> |
|
503 </tr> |
|
504 <tr> |
|
505 <td><a href="#ViewManager.__loadRecent">__loadRecent</a></td> |
|
506 <td>Private method to load the recently opened filenames.</td> |
|
507 </tr> |
|
508 <tr> |
|
509 <td><a href="#ViewManager.__macroDelete">__macroDelete</a></td> |
|
510 <td>Private method to handle the delete macro action.</td> |
|
511 </tr> |
|
512 <tr> |
|
513 <td><a href="#ViewManager.__macroLoad">__macroLoad</a></td> |
|
514 <td>Private method to handle the load macro action.</td> |
|
515 </tr> |
|
516 <tr> |
|
517 <td><a href="#ViewManager.__macroRun">__macroRun</a></td> |
|
518 <td>Private method to handle the run macro action.</td> |
|
519 </tr> |
|
520 <tr> |
|
521 <td><a href="#ViewManager.__macroSave">__macroSave</a></td> |
|
522 <td>Private method to handle the save macro action.</td> |
|
523 </tr> |
|
524 <tr> |
|
525 <td><a href="#ViewManager.__macroStartRecording">__macroStartRecording</a></td> |
|
526 <td>Private method to handle the start macro recording action.</td> |
|
527 </tr> |
|
528 <tr> |
|
529 <td><a href="#ViewManager.__macroStopRecording">__macroStopRecording</a></td> |
|
530 <td>Private method to handle the stop macro recording action.</td> |
|
531 </tr> |
|
532 <tr> |
|
533 <td><a href="#ViewManager.__newDocumentSplitView">__newDocumentSplitView</a></td> |
|
534 <td>Private method to open a new view of the current editor in a new split.</td> |
|
535 </tr> |
|
536 <tr> |
|
537 <td><a href="#ViewManager.__newDocumentView">__newDocumentView</a></td> |
|
538 <td>Private method to open a new view of the current editor.</td> |
|
539 </tr> |
|
540 <tr> |
|
541 <td><a href="#ViewManager.__newLineBelow">__newLineBelow</a></td> |
|
542 <td>Private method to insert a new line below the current one even if cursor is not at the end of the line.</td> |
|
543 </tr> |
|
544 <tr> |
|
545 <td><a href="#ViewManager.__nextBookmark">__nextBookmark</a></td> |
|
546 <td>Private method to handle the next bookmark action.</td> |
|
547 </tr> |
|
548 <tr> |
|
549 <td><a href="#ViewManager.__nextChange">__nextChange</a></td> |
|
550 <td>Private method to handle the next change action.</td> |
|
551 </tr> |
|
552 <tr> |
|
553 <td><a href="#ViewManager.__nextTask">__nextTask</a></td> |
|
554 <td>Private method to handle the next task action.</td> |
|
555 </tr> |
|
556 <tr> |
|
557 <td><a href="#ViewManager.__nextUncovered">__nextUncovered</a></td> |
|
558 <td>Private method to handle the next uncovered action.</td> |
|
559 </tr> |
|
560 <tr> |
|
561 <td><a href="#ViewManager.__nextWarning">__nextWarning</a></td> |
|
562 <td>Private method to handle the next warning action.</td> |
|
563 </tr> |
|
564 <tr> |
|
565 <td><a href="#ViewManager.__openFiles">__openFiles</a></td> |
|
566 <td>Private slot to open some files.</td> |
|
567 </tr> |
|
568 <tr> |
|
569 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td> |
|
570 <td>Private method to open a file from the list of recently opened files.</td> |
|
571 </tr> |
|
572 <tr> |
|
573 <td><a href="#ViewManager.__previewEditor">__previewEditor</a></td> |
|
574 <td>Private slot to handle a change of the preview selection state.</td> |
|
575 </tr> |
|
576 <tr> |
|
577 <td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td> |
|
578 <td>Private method to handle the previous bookmark action.</td> |
|
579 </tr> |
|
580 <tr> |
|
581 <td><a href="#ViewManager.__previousChange">__previousChange</a></td> |
|
582 <td>Private method to handle the previous change action.</td> |
|
583 </tr> |
|
584 <tr> |
|
585 <td><a href="#ViewManager.__previousTask">__previousTask</a></td> |
|
586 <td>Private method to handle the previous task action.</td> |
|
587 </tr> |
|
588 <tr> |
|
589 <td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td> |
|
590 <td>Private method to handle the previous uncovered action.</td> |
|
591 </tr> |
|
592 <tr> |
|
593 <td><a href="#ViewManager.__previousWarning">__previousWarning</a></td> |
|
594 <td>Private method to handle the previous warning action.</td> |
|
595 </tr> |
|
596 <tr> |
|
597 <td><a href="#ViewManager.__replaceFiles">__replaceFiles</a></td> |
|
598 <td>Private method to handle the replace in files action.</td> |
|
599 </tr> |
|
600 <tr> |
|
601 <td><a href="#ViewManager.__replaceOpenFiles">__replaceOpenFiles</a></td> |
|
602 <td>Private method to handle the replace in open files action.</td> |
|
603 </tr> |
|
604 <tr> |
|
605 <td><a href="#ViewManager.__saveRecent">__saveRecent</a></td> |
|
606 <td>Private method to save the list of recently opened filenames.</td> |
|
607 </tr> |
|
608 <tr> |
|
609 <td><a href="#ViewManager.__searchClearMarkers">__searchClearMarkers</a></td> |
|
610 <td>Private method to clear the search markers of the active window.</td> |
|
611 </tr> |
|
612 <tr> |
|
613 <td><a href="#ViewManager.__searchFiles">__searchFiles</a></td> |
|
614 <td>Private method to handle the search in files action.</td> |
|
615 </tr> |
|
616 <tr> |
|
617 <td><a href="#ViewManager.__searchNext">__searchNext</a></td> |
|
618 <td>Private slot to handle the search next action.</td> |
|
619 </tr> |
|
620 <tr> |
|
621 <td><a href="#ViewManager.__searchOpenFiles">__searchOpenFiles</a></td> |
|
622 <td>Private method to handle the search in open files action.</td> |
|
623 </tr> |
|
624 <tr> |
|
625 <td><a href="#ViewManager.__searchPrev">__searchPrev</a></td> |
|
626 <td>Private slot to handle the search previous action.</td> |
|
627 </tr> |
|
628 <tr> |
|
629 <td><a href="#ViewManager.__setAutoSpellChecking">__setAutoSpellChecking</a></td> |
|
630 <td>Private slot to set the automatic spell checking of all editors.</td> |
|
631 </tr> |
|
632 <tr> |
|
633 <td><a href="#ViewManager.__setSbFile">__setSbFile</a></td> |
|
634 <td>Private method to set the file info in the status bar.</td> |
|
635 </tr> |
|
636 <tr> |
|
637 <td><a href="#ViewManager.__shortenEmptyLines">__shortenEmptyLines</a></td> |
|
638 <td>Private method to handle the shorten empty lines action.</td> |
|
639 </tr> |
|
640 <tr> |
|
641 <td><a href="#ViewManager.__showBookmarkMenu">__showBookmarkMenu</a></td> |
|
642 <td>Private method to set up the bookmark menu.</td> |
|
643 </tr> |
|
644 <tr> |
|
645 <td><a href="#ViewManager.__showBookmarkedMenu">__showBookmarkedMenu</a></td> |
|
646 <td>Private method to set up bookmarked files menu.</td> |
|
647 </tr> |
|
648 <tr> |
|
649 <td><a href="#ViewManager.__showBookmarksMenu">__showBookmarksMenu</a></td> |
|
650 <td>Private method to handle the show bookmarks menu signal.</td> |
|
651 </tr> |
|
652 <tr> |
|
653 <td><a href="#ViewManager.__showEditSpellingMenu">__showEditSpellingMenu</a></td> |
|
654 <td>Private method to set up the edit dictionaries menu.</td> |
|
655 </tr> |
|
656 <tr> |
|
657 <td><a href="#ViewManager.__showEncodingsMenu">__showEncodingsMenu</a></td> |
|
658 <td>Private slot to show the Encodings menu of the current editor.</td> |
|
659 </tr> |
|
660 <tr> |
|
661 <td><a href="#ViewManager.__showEolMenu">__showEolMenu</a></td> |
|
662 <td>Private slot to show the EOL menu of the current editor.</td> |
|
663 </tr> |
|
664 <tr> |
|
665 <td><a href="#ViewManager.__showFileMenu">__showFileMenu</a></td> |
|
666 <td>Private method to set up the file menu.</td> |
|
667 </tr> |
|
668 <tr> |
|
669 <td><a href="#ViewManager.__showLanguagesMenu">__showLanguagesMenu</a></td> |
|
670 <td>Private slot to show the Languages menu of the current editor.</td> |
|
671 </tr> |
|
672 <tr> |
|
673 <td><a href="#ViewManager.__showRecentMenu">__showRecentMenu</a></td> |
|
674 <td>Private method to set up recent files menu.</td> |
|
675 </tr> |
|
676 <tr> |
|
677 <td><a href="#ViewManager.__spellCheck">__spellCheck</a></td> |
|
678 <td>Private slot to perform a spell check of the current editor.</td> |
|
679 </tr> |
|
680 <tr> |
|
681 <td><a href="#ViewManager.__splitOrientation">__splitOrientation</a></td> |
|
682 <td>Private method to handle the split orientation action.</td> |
|
683 </tr> |
|
684 <tr> |
|
685 <td><a href="#ViewManager.__splitView">__splitView</a></td> |
|
686 <td>Private method to handle the split view action.</td> |
|
687 </tr> |
|
688 <tr> |
|
689 <td><a href="#ViewManager.__taskMarkersUpdated">__taskMarkersUpdated</a></td> |
|
690 <td>Private slot to handle the taskMarkersUpdated signal.</td> |
|
691 </tr> |
|
692 <tr> |
|
693 <td><a href="#ViewManager.__toggleAll">__toggleAll</a></td> |
|
694 <td>Private method to handle the toggle all folds action.</td> |
|
695 </tr> |
|
696 <tr> |
|
697 <td><a href="#ViewManager.__toggleAllChildren">__toggleAllChildren</a></td> |
|
698 <td>Private method to handle the toggle all folds (including children) action.</td> |
|
699 </tr> |
|
700 <tr> |
|
701 <td><a href="#ViewManager.__toggleBookmark">__toggleBookmark</a></td> |
|
702 <td>Private method to handle the toggle bookmark action.</td> |
|
703 </tr> |
|
704 <tr> |
|
705 <td><a href="#ViewManager.__toggleCurrent">__toggleCurrent</a></td> |
|
706 <td>Private method to handle the toggle current fold action.</td> |
|
707 </tr> |
|
708 <tr> |
|
709 <td><a href="#ViewManager.__unhighlight">__unhighlight</a></td> |
|
710 <td>Private slot to switch of all highlights.</td> |
|
711 </tr> |
|
712 <tr> |
|
713 <td><a href="#ViewManager.__zoom">__zoom</a></td> |
|
714 <td>Private method to handle the zoom action.</td> |
|
715 </tr> |
|
716 <tr> |
|
717 <td><a href="#ViewManager.__zoomIn">__zoomIn</a></td> |
|
718 <td>Private method to handle the zoom in action.</td> |
|
719 </tr> |
|
720 <tr> |
|
721 <td><a href="#ViewManager.__zoomOut">__zoomOut</a></td> |
|
722 <td>Private method to handle the zoom out action.</td> |
|
723 </tr> |
|
724 <tr> |
|
725 <td><a href="#ViewManager.__zoomReset">__zoomReset</a></td> |
|
726 <td>Private method to reset the zoom factor.</td> |
|
727 </tr> |
|
728 <tr> |
|
729 <td><a href="#ViewManager.__zoomTo">__zoomTo</a></td> |
|
730 <td>Private slot to zoom to a given value.</td> |
|
731 </tr> |
|
732 <tr> |
|
733 <td><a href="#ViewManager._addView">_addView</a></td> |
|
734 <td>Protected method to add a view (i.e.</td> |
|
735 </tr> |
|
736 <tr> |
|
737 <td><a href="#ViewManager._checkActions">_checkActions</a></td> |
|
738 <td>Protected slot to check some actions for their enable/disable status and set the statusbar info.</td> |
|
739 </tr> |
|
740 <tr> |
|
741 <td><a href="#ViewManager._getOpenFileFilter">_getOpenFileFilter</a></td> |
|
742 <td>Protected method to return the active filename filter for a file open dialog.</td> |
|
743 </tr> |
|
744 <tr> |
|
745 <td><a href="#ViewManager._getOpenStartDir">_getOpenStartDir</a></td> |
|
746 <td>Protected method to return the starting directory for a file open dialog.</td> |
|
747 </tr> |
|
748 <tr> |
|
749 <td><a href="#ViewManager._initWindowActions">_initWindowActions</a></td> |
|
750 <td>Protected method to define the user interface actions for window handling.</td> |
|
751 </tr> |
|
752 <tr> |
|
753 <td><a href="#ViewManager._modificationStatusChanged">_modificationStatusChanged</a></td> |
|
754 <td>Protected slot to handle the modificationStatusChanged signal.</td> |
|
755 </tr> |
|
756 <tr> |
|
757 <td><a href="#ViewManager._removeAllViews">_removeAllViews</a></td> |
|
758 <td>Protected method to remove all views (i.e.</td> |
|
759 </tr> |
|
760 <tr> |
|
761 <td><a href="#ViewManager._removeView">_removeView</a></td> |
|
762 <td>Protected method to remove a view (i.e.</td> |
|
763 </tr> |
|
764 <tr> |
|
765 <td><a href="#ViewManager._showView">_showView</a></td> |
|
766 <td>Protected method to show a view (i.e.</td> |
|
767 </tr> |
|
768 <tr> |
|
769 <td><a href="#ViewManager._syntaxErrorToggled">_syntaxErrorToggled</a></td> |
|
770 <td>Protected slot to handle the syntaxerrorToggled signal.</td> |
|
771 </tr> |
|
772 <tr> |
|
773 <td><a href="#ViewManager.activeWindow">activeWindow</a></td> |
|
774 <td>Public method to return the active (i.e.</td> |
|
775 </tr> |
|
776 <tr> |
|
777 <td><a href="#ViewManager.addSplit">addSplit</a></td> |
|
778 <td>Public method used to split the current view.</td> |
|
779 </tr> |
|
780 <tr> |
|
781 <td><a href="#ViewManager.addToExtrasMenu">addToExtrasMenu</a></td> |
|
782 <td>Public method to add some actions to the Extras menu.</td> |
|
783 </tr> |
|
784 <tr> |
|
785 <td><a href="#ViewManager.addToRecentList">addToRecentList</a></td> |
|
786 <td>Public slot to add a filename to the list of recently opened files.</td> |
|
787 </tr> |
|
788 <tr> |
|
789 <td><a href="#ViewManager.appFocusChanged">appFocusChanged</a></td> |
|
790 <td>Public method to handle the global change of focus.</td> |
|
791 </tr> |
|
792 <tr> |
|
793 <td><a href="#ViewManager.canCascade">canCascade</a></td> |
|
794 <td>Public method to signal if cascading of managed windows is available.</td> |
|
795 </tr> |
|
796 <tr> |
|
797 <td><a href="#ViewManager.canSplit">canSplit</a></td> |
|
798 <td>Public method to signal if splitting of the view is available.</td> |
|
799 </tr> |
|
800 <tr> |
|
801 <td><a href="#ViewManager.canTile">canTile</a></td> |
|
802 <td>Public method to signal if tiling of managed windows is available.</td> |
|
803 </tr> |
|
804 <tr> |
|
805 <td><a href="#ViewManager.cancelSharedEdit">cancelSharedEdit</a></td> |
|
806 <td>Public slot to cancel a shared edit session for the current editor.</td> |
|
807 </tr> |
|
808 <tr> |
|
809 <td><a href="#ViewManager.cascade">cascade</a></td> |
|
810 <td>Public method to cascade the managed windows.</td> |
|
811 </tr> |
|
812 <tr> |
|
813 <td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td> |
|
814 <td>Public method to check the dirty status of all editors.</td> |
|
815 </tr> |
|
816 <tr> |
|
817 <td><a href="#ViewManager.checkDirty">checkDirty</a></td> |
|
818 <td>Public method to check the dirty status and open a message window.</td> |
|
819 </tr> |
|
820 <tr> |
|
821 <td><a href="#ViewManager.checkFileDirty">checkFileDirty</a></td> |
|
822 <td>Public method to check the dirty status of an editor given its file name and open a message window.</td> |
|
823 </tr> |
|
824 <tr> |
|
825 <td><a href="#ViewManager.clearRecent">clearRecent</a></td> |
|
826 <td>Public method to clear the recent files menu.</td> |
|
827 </tr> |
|
828 <tr> |
|
829 <td><a href="#ViewManager.cloneEditor">cloneEditor</a></td> |
|
830 <td>Public method to clone an editor displaying the given document.</td> |
|
831 </tr> |
|
832 <tr> |
|
833 <td><a href="#ViewManager.closeAllWindows">closeAllWindows</a></td> |
|
834 <td>Public method to close all editor windows.</td> |
|
835 </tr> |
|
836 <tr> |
|
837 <td><a href="#ViewManager.closeCurrentWindow">closeCurrentWindow</a></td> |
|
838 <td>Public method to close the current window.</td> |
|
839 </tr> |
|
840 <tr> |
|
841 <td><a href="#ViewManager.closeEditor">closeEditor</a></td> |
|
842 <td>Public method to close an editor window.</td> |
|
843 </tr> |
|
844 <tr> |
|
845 <td><a href="#ViewManager.closeEditorWindow">closeEditorWindow</a></td> |
|
846 <td>Public method to close an arbitrary source editor.</td> |
|
847 </tr> |
|
848 <tr> |
|
849 <td><a href="#ViewManager.closeViewManager">closeViewManager</a></td> |
|
850 <td>Public method to shutdown the viewmanager.</td> |
|
851 </tr> |
|
852 <tr> |
|
853 <td><a href="#ViewManager.closeWindow">closeWindow</a></td> |
|
854 <td>Public method to close an arbitrary source editor.</td> |
|
855 </tr> |
|
856 <tr> |
|
857 <td><a href="#ViewManager.editorsCheckFocusInEnabled">editorsCheckFocusInEnabled</a></td> |
|
858 <td>Public method returning the flag indicating editors should perform focus in checks.</td> |
|
859 </tr> |
|
860 <tr> |
|
861 <td><a href="#ViewManager.enableEditorsCheckFocusIn">enableEditorsCheckFocusIn</a></td> |
|
862 <td>Public method to set a flag enabling the editors to perform focus in checks.</td> |
|
863 </tr> |
|
864 <tr> |
|
865 <td><a href="#ViewManager.eventFilter">eventFilter</a></td> |
|
866 <td>Public method called to filter an event.</td> |
|
867 </tr> |
|
868 <tr> |
|
869 <td><a href="#ViewManager.exit">exit</a></td> |
|
870 <td>Public method to handle the debugged program terminating.</td> |
|
871 </tr> |
|
872 <tr> |
|
873 <td><a href="#ViewManager.getAPIsManager">getAPIsManager</a></td> |
|
874 <td>Public method to get a reference to the APIs manager.</td> |
|
875 </tr> |
|
876 <tr> |
|
877 <td><a href="#ViewManager.getActions">getActions</a></td> |
|
878 <td>Public method to get a list of all actions.</td> |
|
879 </tr> |
|
880 <tr> |
|
881 <td><a href="#ViewManager.getActiveName">getActiveName</a></td> |
|
882 <td>Public method to retrieve the filename of the active window.</td> |
|
883 </tr> |
|
884 <tr> |
|
885 <td><a href="#ViewManager.getEditor">getEditor</a></td> |
|
886 <td>Public method to return the editor displaying the given file.</td> |
|
887 </tr> |
|
888 <tr> |
|
889 <td><a href="#ViewManager.getMostRecent">getMostRecent</a></td> |
|
890 <td>Public method to get the most recently opened file.</td> |
|
891 </tr> |
|
892 <tr> |
|
893 <td><a href="#ViewManager.getNumber">getNumber</a></td> |
|
894 <td>Public method to get a number from the active window.</td> |
|
895 </tr> |
|
896 <tr> |
|
897 <td><a href="#ViewManager.getOpenEditor">getOpenEditor</a></td> |
|
898 <td>Public method to return the editor displaying the given file.</td> |
|
899 </tr> |
|
900 <tr> |
|
901 <td><a href="#ViewManager.getOpenEditorCount">getOpenEditorCount</a></td> |
|
902 <td>Public method to return the count of editors displaying the given file.</td> |
|
903 </tr> |
|
904 <tr> |
|
905 <td><a href="#ViewManager.getOpenEditors">getOpenEditors</a></td> |
|
906 <td>Public method to get references to all open editors.</td> |
|
907 </tr> |
|
908 <tr> |
|
909 <td><a href="#ViewManager.getOpenEditorsCount">getOpenEditorsCount</a></td> |
|
910 <td>Public method to get the number of open editors.</td> |
|
911 </tr> |
|
912 <tr> |
|
913 <td><a href="#ViewManager.getOpenEditorsForSession">getOpenEditorsForSession</a></td> |
|
914 <td>Public method to get a lists of all open editors.</td> |
|
915 </tr> |
|
916 <tr> |
|
917 <td><a href="#ViewManager.getOpenFilenames">getOpenFilenames</a></td> |
|
918 <td>Public method returning a list of the filenames of all editors.</td> |
|
919 </tr> |
|
920 <tr> |
|
921 <td><a href="#ViewManager.getSRHistory">getSRHistory</a></td> |
|
922 <td>Public method to get the search or replace history list.</td> |
|
923 </tr> |
|
924 <tr> |
|
925 <td><a href="#ViewManager.getSplitOrientation">getSplitOrientation</a></td> |
|
926 <td>Public method to get the orientation of the split view.</td> |
|
927 </tr> |
|
928 <tr> |
|
929 <td><a href="#ViewManager.handleResetUI">handleResetUI</a></td> |
|
930 <td>Public slot to handle the resetUI signal.</td> |
|
931 </tr> |
|
932 <tr> |
|
933 <td><a href="#ViewManager.hasDirtyEditor">hasDirtyEditor</a></td> |
|
934 <td>Public method to ask, if any of the open editors contains unsaved changes.</td> |
|
935 </tr> |
|
936 <tr> |
|
937 <td><a href="#ViewManager.initActions">initActions</a></td> |
|
938 <td>Public method defining the user interface actions.</td> |
|
939 </tr> |
|
940 <tr> |
|
941 <td><a href="#ViewManager.initBookmarkMenu">initBookmarkMenu</a></td> |
|
942 <td>Public method to create the Bookmark menu.</td> |
|
943 </tr> |
|
944 <tr> |
|
945 <td><a href="#ViewManager.initBookmarkToolbar">initBookmarkToolbar</a></td> |
|
946 <td>Public method to create the Bookmark toolbar.</td> |
|
947 </tr> |
|
948 <tr> |
|
949 <td><a href="#ViewManager.initEditMenu">initEditMenu</a></td> |
|
950 <td>Public method to create the Edit menu.</td> |
|
951 </tr> |
|
952 <tr> |
|
953 <td><a href="#ViewManager.initEditToolbar">initEditToolbar</a></td> |
|
954 <td>Public method to create the Edit toolbar.</td> |
|
955 </tr> |
|
956 <tr> |
|
957 <td><a href="#ViewManager.initFileMenu">initFileMenu</a></td> |
|
958 <td>Public method to create the File menu.</td> |
|
959 </tr> |
|
960 <tr> |
|
961 <td><a href="#ViewManager.initFileToolbar">initFileToolbar</a></td> |
|
962 <td>Public method to create the File toolbar.</td> |
|
963 </tr> |
|
964 <tr> |
|
965 <td><a href="#ViewManager.initMacroMenu">initMacroMenu</a></td> |
|
966 <td>Public method to create the Macro menu.</td> |
|
967 </tr> |
|
968 <tr> |
|
969 <td><a href="#ViewManager.initSearchMenu">initSearchMenu</a></td> |
|
970 <td>Public method to create the Search menu.</td> |
|
971 </tr> |
|
972 <tr> |
|
973 <td><a href="#ViewManager.initSearchToolbar">initSearchToolbar</a></td> |
|
974 <td>Public method to create the Search toolbar.</td> |
|
975 </tr> |
|
976 <tr> |
|
977 <td><a href="#ViewManager.initSpellingToolbar">initSpellingToolbar</a></td> |
|
978 <td>Public method to create the Spelling toolbar.</td> |
|
979 </tr> |
|
980 <tr> |
|
981 <td><a href="#ViewManager.initViewMenu">initViewMenu</a></td> |
|
982 <td>Public method to create the View menu.</td> |
|
983 </tr> |
|
984 <tr> |
|
985 <td><a href="#ViewManager.initViewToolbar">initViewToolbar</a></td> |
|
986 <td>Public method to create the View toolbar.</td> |
|
987 </tr> |
|
988 <tr> |
|
989 <td><a href="#ViewManager.insertNumber">insertNumber</a></td> |
|
990 <td>Public slot to insert a number text into the active window.</td> |
|
991 </tr> |
|
992 <tr> |
|
993 <td><a href="#ViewManager.insertSymbol">insertSymbol</a></td> |
|
994 <td>Public slot to insert a symbol text into the active window.</td> |
|
995 </tr> |
|
996 <tr> |
|
997 <td><a href="#ViewManager.isConnected">isConnected</a></td> |
|
998 <td>Public method to check the connection status of the IDE.</td> |
|
999 </tr> |
|
1000 <tr> |
|
1001 <td><a href="#ViewManager.isEditorInfoSupported">isEditorInfoSupported</a></td> |
|
1002 <td>Public method to check, if a language is supported by the documentation viewer.</td> |
|
1003 </tr> |
|
1004 <tr> |
|
1005 <td><a href="#ViewManager.mainWidget">mainWidget</a></td> |
|
1006 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td> |
|
1007 </tr> |
|
1008 <tr> |
|
1009 <td><a href="#ViewManager.newEditor">newEditor</a></td> |
|
1010 <td>Public slot to generate a new empty editor.</td> |
|
1011 </tr> |
|
1012 <tr> |
|
1013 <td><a href="#ViewManager.newEditorView">newEditorView</a></td> |
|
1014 <td>Public method to create a new editor displaying the given document.</td> |
|
1015 </tr> |
|
1016 <tr> |
|
1017 <td><a href="#ViewManager.nextSplit">nextSplit</a></td> |
|
1018 <td>Public slot used to move to the next split.</td> |
|
1019 </tr> |
|
1020 <tr> |
|
1021 <td><a href="#ViewManager.openFiles">openFiles</a></td> |
|
1022 <td>Public slot to open some files.</td> |
|
1023 </tr> |
|
1024 <tr> |
|
1025 <td><a href="#ViewManager.openSourceFile">openSourceFile</a></td> |
|
1026 <td>Public slot to display a file in an editor.</td> |
|
1027 </tr> |
|
1028 <tr> |
|
1029 <td><a href="#ViewManager.preferencesChanged">preferencesChanged</a></td> |
|
1030 <td>Public slot to handle the preferencesChanged signal.</td> |
|
1031 </tr> |
|
1032 <tr> |
|
1033 <td><a href="#ViewManager.prevSplit">prevSplit</a></td> |
|
1034 <td>Public slot used to move to the previous split.</td> |
|
1035 </tr> |
|
1036 <tr> |
|
1037 <td><a href="#ViewManager.printCurrentEditor">printCurrentEditor</a></td> |
|
1038 <td>Public slot to print the contents of the current editor.</td> |
|
1039 </tr> |
|
1040 <tr> |
|
1041 <td><a href="#ViewManager.printEditor">printEditor</a></td> |
|
1042 <td>Public slot to print an editor.</td> |
|
1043 </tr> |
|
1044 <tr> |
|
1045 <td><a href="#ViewManager.printPreviewCurrentEditor">printPreviewCurrentEditor</a></td> |
|
1046 <td>Public slot to show a print preview of the current editor.</td> |
|
1047 </tr> |
|
1048 <tr> |
|
1049 <td><a href="#ViewManager.printPreviewEditor">printPreviewEditor</a></td> |
|
1050 <td>Public slot to show a print preview of an editor.</td> |
|
1051 </tr> |
|
1052 <tr> |
|
1053 <td><a href="#ViewManager.projectClosed">projectClosed</a></td> |
|
1054 <td>Public slot to handle the projectClosed signal.</td> |
|
1055 </tr> |
|
1056 <tr> |
|
1057 <td><a href="#ViewManager.projectFileRenamed">projectFileRenamed</a></td> |
|
1058 <td>Public slot to handle the projectFileRenamed signal.</td> |
|
1059 </tr> |
|
1060 <tr> |
|
1061 <td><a href="#ViewManager.projectLexerAssociationsChanged">projectLexerAssociationsChanged</a></td> |
|
1062 <td>Public slot to handle changes of the project lexer associations.</td> |
|
1063 </tr> |
|
1064 <tr> |
|
1065 <td><a href="#ViewManager.projectOpened">projectOpened</a></td> |
|
1066 <td>Public slot to handle the projectOpened signal.</td> |
|
1067 </tr> |
|
1068 <tr> |
|
1069 <td><a href="#ViewManager.receive">receive</a></td> |
|
1070 <td>Public slot to handle received editor commands.</td> |
|
1071 </tr> |
|
1072 <tr> |
|
1073 <td><a href="#ViewManager.removeSplit">removeSplit</a></td> |
|
1074 <td>Public method used to remove the current split view or a split view by index.</td> |
|
1075 </tr> |
|
1076 <tr> |
|
1077 <td><a href="#ViewManager.replaceWidget">replaceWidget</a></td> |
|
1078 <td>Public method to get a reference to the replace widget.</td> |
|
1079 </tr> |
|
1080 <tr> |
|
1081 <td><a href="#ViewManager.saveAllEditors">saveAllEditors</a></td> |
|
1082 <td>Public slot to save the contents of all editors.</td> |
|
1083 </tr> |
|
1084 <tr> |
|
1085 <td><a href="#ViewManager.saveAsCurrentEditor">saveAsCurrentEditor</a></td> |
|
1086 <td>Public slot to save the contents of the current editor to a new file.</td> |
|
1087 </tr> |
|
1088 <tr> |
|
1089 <td><a href="#ViewManager.saveAsEditorEd">saveAsEditorEd</a></td> |
|
1090 <td>Public slot to save the contents of an editor to a new file.</td> |
|
1091 </tr> |
|
1092 <tr> |
|
1093 <td><a href="#ViewManager.saveCopyCurrentEditor">saveCopyCurrentEditor</a></td> |
|
1094 <td>Public slot to save the contents of the current editor to a new copy of the file.</td> |
|
1095 </tr> |
|
1096 <tr> |
|
1097 <td><a href="#ViewManager.saveCopyEditorEd">saveCopyEditorEd</a></td> |
|
1098 <td>Public slot to save the contents of an editor to a new copy of the file.</td> |
|
1099 </tr> |
|
1100 <tr> |
|
1101 <td><a href="#ViewManager.saveCurrentEditor">saveCurrentEditor</a></td> |
|
1102 <td>Public slot to save the contents of the current editor.</td> |
|
1103 </tr> |
|
1104 <tr> |
|
1105 <td><a href="#ViewManager.saveEditor">saveEditor</a></td> |
|
1106 <td>Public method to save a named editor file.</td> |
|
1107 </tr> |
|
1108 <tr> |
|
1109 <td><a href="#ViewManager.saveEditorEd">saveEditorEd</a></td> |
|
1110 <td>Public slot to save the contents of an editor.</td> |
|
1111 </tr> |
|
1112 <tr> |
|
1113 <td><a href="#ViewManager.saveEditorsList">saveEditorsList</a></td> |
|
1114 <td>Public slot to save a list of editors.</td> |
|
1115 </tr> |
|
1116 <tr> |
|
1117 <td><a href="#ViewManager.searchWidget">searchWidget</a></td> |
|
1118 <td>Public method to get a reference to the search widget.</td> |
|
1119 </tr> |
|
1120 <tr> |
|
1121 <td><a href="#ViewManager.send">send</a></td> |
|
1122 <td>Public method to send an editor command to remote editors.</td> |
|
1123 </tr> |
|
1124 <tr> |
|
1125 <td><a href="#ViewManager.sendSharedEdit">sendSharedEdit</a></td> |
|
1126 <td>Public slot to end a shared edit session for the current editor and send the changes.</td> |
|
1127 </tr> |
|
1128 <tr> |
|
1129 <td><a href="#ViewManager.setCooperationClient">setCooperationClient</a></td> |
|
1130 <td>Public method to set a reference to the cooperation client.</td> |
|
1131 </tr> |
|
1132 <tr> |
|
1133 <td><a href="#ViewManager.setEditorName">setEditorName</a></td> |
|
1134 <td>Public method to change the displayed name of the editor.</td> |
|
1135 </tr> |
|
1136 <tr> |
|
1137 <td><a href="#ViewManager.setFileLine">setFileLine</a></td> |
|
1138 <td>Public method to update the user interface when the current program or line changes.</td> |
|
1139 </tr> |
|
1140 <tr> |
|
1141 <td><a href="#ViewManager.setReferences">setReferences</a></td> |
|
1142 <td>Public method to set some references needed later on.</td> |
|
1143 </tr> |
|
1144 <tr> |
|
1145 <td><a href="#ViewManager.setSbInfo">setSbInfo</a></td> |
|
1146 <td>Public method to transfer statusbar info from the user interface to viewmanager.</td> |
|
1147 </tr> |
|
1148 <tr> |
|
1149 <td><a href="#ViewManager.setSplitCount">setSplitCount</a></td> |
|
1150 <td>Public method to set the number of split views.</td> |
|
1151 </tr> |
|
1152 <tr> |
|
1153 <td><a href="#ViewManager.setSplitOrientation">setSplitOrientation</a></td> |
|
1154 <td>Public method used to set the orientation of the split view.</td> |
|
1155 </tr> |
|
1156 <tr> |
|
1157 <td><a href="#ViewManager.shareConnected">shareConnected</a></td> |
|
1158 <td>Public slot to handle a change of the connected state.</td> |
|
1159 </tr> |
|
1160 <tr> |
|
1161 <td><a href="#ViewManager.shareEditor">shareEditor</a></td> |
|
1162 <td>Public slot to set the shared status of the current editor.</td> |
|
1163 </tr> |
|
1164 <tr> |
|
1165 <td><a href="#ViewManager.showDebugSource">showDebugSource</a></td> |
|
1166 <td>Public method to open the given file and highlight the given line in it.</td> |
|
1167 </tr> |
|
1168 <tr> |
|
1169 <td><a href="#ViewManager.showEditorInfo">showEditorInfo</a></td> |
|
1170 <td>Public method to show some information for a given editor.</td> |
|
1171 </tr> |
|
1172 <tr> |
|
1173 <td><a href="#ViewManager.showReplaceWidget">showReplaceWidget</a></td> |
|
1174 <td>Public method to show the replace widget.</td> |
|
1175 </tr> |
|
1176 <tr> |
|
1177 <td><a href="#ViewManager.showSearchWidget">showSearchWidget</a></td> |
|
1178 <td>Public method to show the search widget.</td> |
|
1179 </tr> |
|
1180 <tr> |
|
1181 <td><a href="#ViewManager.showWindowMenu">showWindowMenu</a></td> |
|
1182 <td>Public method to set up the viewmanager part of the Window menu.</td> |
|
1183 </tr> |
|
1184 <tr> |
|
1185 <td><a href="#ViewManager.splitCount">splitCount</a></td> |
|
1186 <td>Public method to get the number of split views.</td> |
|
1187 </tr> |
|
1188 <tr> |
|
1189 <td><a href="#ViewManager.startSharedEdit">startSharedEdit</a></td> |
|
1190 <td>Public slot to start a shared edit session for the current editor.</td> |
|
1191 </tr> |
|
1192 <tr> |
|
1193 <td><a href="#ViewManager.textForFind">textForFind</a></td> |
|
1194 <td>Public method to determine the selection or the current word for the next find operation.</td> |
|
1195 </tr> |
|
1196 <tr> |
|
1197 <td><a href="#ViewManager.tile">tile</a></td> |
|
1198 <td>Public method to tile the managed windows.</td> |
|
1199 </tr> |
|
1200 <tr> |
|
1201 <td><a href="#ViewManager.unhighlight">unhighlight</a></td> |
|
1202 <td>Public method to switch off all highlights or the highlight of the current editor.</td> |
|
1203 </tr> |
|
1204 <tr> |
|
1205 <td><a href="#ViewManager.zoomValueChanged">zoomValueChanged</a></td> |
|
1206 <td>Public slot to handle changes of the zoom value.</td> |
|
1207 </tr> |
|
1208 </table> |
|
1209 <h3>Static Methods</h3> |
|
1210 |
|
1211 <table> |
|
1212 <tr><td>None</td></tr> |
|
1213 </table> |
|
1214 |
|
1215 <a NAME="ViewManager.__init__" ID="ViewManager.__init__"></a> |
|
1216 <h4>ViewManager (Constructor)</h4> |
|
1217 <b>ViewManager</b>(<i></i>) |
|
1218 |
|
1219 <p> |
|
1220 Constructor |
|
1221 </p> |
|
1222 <a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a> |
|
1223 <h4>ViewManager.__addBookmarked</h4> |
|
1224 <b>__addBookmarked</b>(<i></i>) |
|
1225 |
|
1226 <p> |
|
1227 Private method to add the current file to the list of bookmarked files. |
|
1228 </p> |
|
1229 <a NAME="ViewManager.__astViewer" ID="ViewManager.__astViewer"></a> |
|
1230 <h4>ViewManager.__astViewer</h4> |
|
1231 <b>__astViewer</b>(<i>checked</i>) |
|
1232 |
|
1233 <p> |
|
1234 Private slot to handle a change of the AST Viewer selection state. |
|
1235 </p> |
|
1236 <dl> |
|
1237 |
|
1238 <dt><i>checked</i></dt> |
|
1239 <dd> |
|
1240 state of the action (boolean) |
|
1241 </dd> |
|
1242 </dl> |
|
1243 <a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a> |
|
1244 <h4>ViewManager.__autosave</h4> |
|
1245 <b>__autosave</b>(<i></i>) |
|
1246 |
|
1247 <p> |
|
1248 Private slot to save the contents of all editors automatically. |
|
1249 </p> |
|
1250 <p> |
|
1251 Only named editors will be saved by the autosave timer. |
|
1252 </p> |
|
1253 <a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a> |
|
1254 <h4>ViewManager.__bookmarkSelected</h4> |
|
1255 <b>__bookmarkSelected</b>(<i>act</i>) |
|
1256 |
|
1257 <p> |
|
1258 Private method to handle the bookmark selected signal. |
|
1259 </p> |
|
1260 <dl> |
|
1261 |
|
1262 <dt><i>act</i></dt> |
|
1263 <dd> |
|
1264 reference to the action that triggered (QAction) |
|
1265 </dd> |
|
1266 </dl> |
|
1267 <a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a> |
|
1268 <h4>ViewManager.__bookmarkToggled</h4> |
|
1269 <b>__bookmarkToggled</b>(<i>editor</i>) |
|
1270 |
|
1271 <p> |
|
1272 Private slot to handle the bookmarkToggled signal. |
|
1273 </p> |
|
1274 <p> |
|
1275 It checks some bookmark actions and reemits the signal. |
|
1276 </p> |
|
1277 <dl> |
|
1278 |
|
1279 <dt><i>editor</i></dt> |
|
1280 <dd> |
|
1281 editor that sent the signal |
|
1282 </dd> |
|
1283 </dl> |
|
1284 <a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a> |
|
1285 <h4>ViewManager.__breakpointToggled</h4> |
|
1286 <b>__breakpointToggled</b>(<i>editor</i>) |
|
1287 |
|
1288 <p> |
|
1289 Private slot to handle the breakpointToggled signal. |
|
1290 </p> |
|
1291 <p> |
|
1292 It simply reemits the signal. |
|
1293 </p> |
|
1294 <dl> |
|
1295 |
|
1296 <dt><i>editor</i></dt> |
|
1297 <dd> |
|
1298 editor that sent the signal |
|
1299 </dd> |
|
1300 </dl> |
|
1301 <a NAME="ViewManager.__changeMarkersUpdated" ID="ViewManager.__changeMarkersUpdated"></a> |
|
1302 <h4>ViewManager.__changeMarkersUpdated</h4> |
|
1303 <b>__changeMarkersUpdated</b>(<i>editor</i>) |
|
1304 |
|
1305 <p> |
|
1306 Private slot to handle the changeMarkersUpdated signal. |
|
1307 </p> |
|
1308 <dl> |
|
1309 |
|
1310 <dt><i>editor</i></dt> |
|
1311 <dd> |
|
1312 editor that sent the signal |
|
1313 </dd> |
|
1314 </dl> |
|
1315 <a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a> |
|
1316 <h4>ViewManager.__clearAllBookmarks</h4> |
|
1317 <b>__clearAllBookmarks</b>(<i></i>) |
|
1318 |
|
1319 <p> |
|
1320 Private method to handle the clear all bookmarks action. |
|
1321 </p> |
|
1322 <a NAME="ViewManager.__clearAllFolds" ID="ViewManager.__clearAllFolds"></a> |
|
1323 <h4>ViewManager.__clearAllFolds</h4> |
|
1324 <b>__clearAllFolds</b>(<i></i>) |
|
1325 |
|
1326 <p> |
|
1327 Private method to handle the clear all folds action. |
|
1328 </p> |
|
1329 <a NAME="ViewManager.__clearAllSyntaxErrors" ID="ViewManager.__clearAllSyntaxErrors"></a> |
|
1330 <h4>ViewManager.__clearAllSyntaxErrors</h4> |
|
1331 <b>__clearAllSyntaxErrors</b>(<i></i>) |
|
1332 |
|
1333 <p> |
|
1334 Private method to handle the clear all syntax errors action. |
|
1335 </p> |
|
1336 <a NAME="ViewManager.__clearAllWarnings" ID="ViewManager.__clearAllWarnings"></a> |
|
1337 <h4>ViewManager.__clearAllWarnings</h4> |
|
1338 <b>__clearAllWarnings</b>(<i></i>) |
|
1339 |
|
1340 <p> |
|
1341 Private method to handle the clear all warnings action. |
|
1342 </p> |
|
1343 <a NAME="ViewManager.__clearBookmarked" ID="ViewManager.__clearBookmarked"></a> |
|
1344 <h4>ViewManager.__clearBookmarked</h4> |
|
1345 <b>__clearBookmarked</b>(<i></i>) |
|
1346 |
|
1347 <p> |
|
1348 Private method to clear the bookmarked files menu. |
|
1349 </p> |
|
1350 <a NAME="ViewManager.__connectEditor" ID="ViewManager.__connectEditor"></a> |
|
1351 <h4>ViewManager.__connectEditor</h4> |
|
1352 <b>__connectEditor</b>(<i>editor</i>) |
|
1353 |
|
1354 <p> |
|
1355 Private method to establish all editor connections. |
|
1356 </p> |
|
1357 <dl> |
|
1358 |
|
1359 <dt><i>editor</i></dt> |
|
1360 <dd> |
|
1361 reference to the editor object to be connected |
|
1362 </dd> |
|
1363 </dl> |
|
1364 <a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a> |
|
1365 <h4>ViewManager.__convertEOL</h4> |
|
1366 <b>__convertEOL</b>(<i></i>) |
|
1367 |
|
1368 <p> |
|
1369 Private method to handle the convert line end characters action. |
|
1370 </p> |
|
1371 <a NAME="ViewManager.__coverageMarkersShown" ID="ViewManager.__coverageMarkersShown"></a> |
|
1372 <h4>ViewManager.__coverageMarkersShown</h4> |
|
1373 <b>__coverageMarkersShown</b>(<i>shown</i>) |
|
1374 |
|
1375 <p> |
|
1376 Private slot to handle the coverageMarkersShown signal. |
|
1377 </p> |
|
1378 <dl> |
|
1379 |
|
1380 <dt><i>shown</i></dt> |
|
1381 <dd> |
|
1382 flag indicating whether the markers were shown or cleared |
|
1383 </dd> |
|
1384 </dl> |
|
1385 <a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a> |
|
1386 <h4>ViewManager.__cursorChanged</h4> |
|
1387 <b>__cursorChanged</b>(<i>fn, line, pos, editor</i>) |
|
1388 |
|
1389 <p> |
|
1390 Private slot to handle the cursorChanged signal. |
|
1391 </p> |
|
1392 <p> |
|
1393 It emits the signal cursorChanged with parameter editor. |
|
1394 </p> |
|
1395 <dl> |
|
1396 |
|
1397 <dt><i>fn</i> (str)</dt> |
|
1398 <dd> |
|
1399 filename |
|
1400 </dd> |
|
1401 <dt><i>line</i> (int)</dt> |
|
1402 <dd> |
|
1403 line number of the cursor |
|
1404 </dd> |
|
1405 <dt><i>pos</i> (int)</dt> |
|
1406 <dd> |
|
1407 position in line of the cursor |
|
1408 </dd> |
|
1409 <dt><i>editor</i> (Editor)</dt> |
|
1410 <dd> |
|
1411 reference to the editor |
|
1412 </dd> |
|
1413 </dl> |
|
1414 <a NAME="ViewManager.__disViewer" ID="ViewManager.__disViewer"></a> |
|
1415 <h4>ViewManager.__disViewer</h4> |
|
1416 <b>__disViewer</b>(<i>checked</i>) |
|
1417 |
|
1418 <p> |
|
1419 Private slot to handle a change of the DIS Viewer selection state. |
|
1420 </p> |
|
1421 <dl> |
|
1422 |
|
1423 <dt><i>checked</i></dt> |
|
1424 <dd> |
|
1425 state of the action (boolean) |
|
1426 </dd> |
|
1427 </dl> |
|
1428 <a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a> |
|
1429 <h4>ViewManager.__editAutoComplete</h4> |
|
1430 <b>__editAutoComplete</b>(<i></i>) |
|
1431 |
|
1432 <p> |
|
1433 Private method to handle the autocomplete action. |
|
1434 </p> |
|
1435 <a NAME="ViewManager.__editAutoCompleteFromAPIs" ID="ViewManager.__editAutoCompleteFromAPIs"></a> |
|
1436 <h4>ViewManager.__editAutoCompleteFromAPIs</h4> |
|
1437 <b>__editAutoCompleteFromAPIs</b>(<i></i>) |
|
1438 |
|
1439 <p> |
|
1440 Private method to handle the autocomplete from APIs action. |
|
1441 </p> |
|
1442 <a NAME="ViewManager.__editAutoCompleteFromAll" ID="ViewManager.__editAutoCompleteFromAll"></a> |
|
1443 <h4>ViewManager.__editAutoCompleteFromAll</h4> |
|
1444 <b>__editAutoCompleteFromAll</b>(<i></i>) |
|
1445 |
|
1446 <p> |
|
1447 Private method to handle the autocomplete from All action. |
|
1448 </p> |
|
1449 <a NAME="ViewManager.__editAutoCompleteFromDoc" ID="ViewManager.__editAutoCompleteFromDoc"></a> |
|
1450 <h4>ViewManager.__editAutoCompleteFromDoc</h4> |
|
1451 <b>__editAutoCompleteFromDoc</b>(<i></i>) |
|
1452 |
|
1453 <p> |
|
1454 Private method to handle the autocomplete from document action. |
|
1455 </p> |
|
1456 <a NAME="ViewManager.__editBookmarked" ID="ViewManager.__editBookmarked"></a> |
|
1457 <h4>ViewManager.__editBookmarked</h4> |
|
1458 <b>__editBookmarked</b>(<i></i>) |
|
1459 |
|
1460 <p> |
|
1461 Private method to edit the list of bookmarked files. |
|
1462 </p> |
|
1463 <a NAME="ViewManager.__editBoxComment" ID="ViewManager.__editBoxComment"></a> |
|
1464 <h4>ViewManager.__editBoxComment</h4> |
|
1465 <b>__editBoxComment</b>(<i></i>) |
|
1466 |
|
1467 <p> |
|
1468 Private method to handle the box comment action. |
|
1469 </p> |
|
1470 <a NAME="ViewManager.__editComment" ID="ViewManager.__editComment"></a> |
|
1471 <h4>ViewManager.__editComment</h4> |
|
1472 <b>__editComment</b>(<i></i>) |
|
1473 |
|
1474 <p> |
|
1475 Private method to handle the comment action. |
|
1476 </p> |
|
1477 <a NAME="ViewManager.__editCopy" ID="ViewManager.__editCopy"></a> |
|
1478 <h4>ViewManager.__editCopy</h4> |
|
1479 <b>__editCopy</b>(<i></i>) |
|
1480 |
|
1481 <p> |
|
1482 Private method to handle the copy action. |
|
1483 </p> |
|
1484 <a NAME="ViewManager.__editCut" ID="ViewManager.__editCut"></a> |
|
1485 <h4>ViewManager.__editCut</h4> |
|
1486 <b>__editCut</b>(<i></i>) |
|
1487 |
|
1488 <p> |
|
1489 Private method to handle the cut action. |
|
1490 </p> |
|
1491 <a NAME="ViewManager.__editDelete" ID="ViewManager.__editDelete"></a> |
|
1492 <h4>ViewManager.__editDelete</h4> |
|
1493 <b>__editDelete</b>(<i></i>) |
|
1494 |
|
1495 <p> |
|
1496 Private method to handle the delete action. |
|
1497 </p> |
|
1498 <a NAME="ViewManager.__editDeselectAll" ID="ViewManager.__editDeselectAll"></a> |
|
1499 <h4>ViewManager.__editDeselectAll</h4> |
|
1500 <b>__editDeselectAll</b>(<i></i>) |
|
1501 |
|
1502 <p> |
|
1503 Private method to handle the select all action. |
|
1504 </p> |
|
1505 <a NAME="ViewManager.__editIndent" ID="ViewManager.__editIndent"></a> |
|
1506 <h4>ViewManager.__editIndent</h4> |
|
1507 <b>__editIndent</b>(<i></i>) |
|
1508 |
|
1509 <p> |
|
1510 Private method to handle the indent action. |
|
1511 </p> |
|
1512 <a NAME="ViewManager.__editInsertDocstring" ID="ViewManager.__editInsertDocstring"></a> |
|
1513 <h4>ViewManager.__editInsertDocstring</h4> |
|
1514 <b>__editInsertDocstring</b>(<i></i>) |
|
1515 |
|
1516 <p> |
|
1517 Private method to insert a docstring. |
|
1518 </p> |
|
1519 <a NAME="ViewManager.__editJoin" ID="ViewManager.__editJoin"></a> |
|
1520 <h4>ViewManager.__editJoin</h4> |
|
1521 <b>__editJoin</b>(<i></i>) |
|
1522 |
|
1523 <p> |
|
1524 Private method to handle the join action. |
|
1525 </p> |
|
1526 <a NAME="ViewManager.__editPaste" ID="ViewManager.__editPaste"></a> |
|
1527 <h4>ViewManager.__editPaste</h4> |
|
1528 <b>__editPaste</b>(<i></i>) |
|
1529 |
|
1530 <p> |
|
1531 Private method to handle the paste action. |
|
1532 </p> |
|
1533 <a NAME="ViewManager.__editProjectPEL" ID="ViewManager.__editProjectPEL"></a> |
|
1534 <h4>ViewManager.__editProjectPEL</h4> |
|
1535 <b>__editProjectPEL</b>(<i></i>) |
|
1536 |
|
1537 <p> |
|
1538 Private slot to edit the project exception list. |
|
1539 </p> |
|
1540 <a NAME="ViewManager.__editProjectPWL" ID="ViewManager.__editProjectPWL"></a> |
|
1541 <h4>ViewManager.__editProjectPWL</h4> |
|
1542 <b>__editProjectPWL</b>(<i></i>) |
|
1543 |
|
1544 <p> |
|
1545 Private slot to edit the project word list. |
|
1546 </p> |
|
1547 <a NAME="ViewManager.__editRedo" ID="ViewManager.__editRedo"></a> |
|
1548 <h4>ViewManager.__editRedo</h4> |
|
1549 <b>__editRedo</b>(<i></i>) |
|
1550 |
|
1551 <p> |
|
1552 Private method to handle the redo action. |
|
1553 </p> |
|
1554 <a NAME="ViewManager.__editRevert" ID="ViewManager.__editRevert"></a> |
|
1555 <h4>ViewManager.__editRevert</h4> |
|
1556 <b>__editRevert</b>(<i></i>) |
|
1557 |
|
1558 <p> |
|
1559 Private method to handle the revert action. |
|
1560 </p> |
|
1561 <a NAME="ViewManager.__editSelectAll" ID="ViewManager.__editSelectAll"></a> |
|
1562 <h4>ViewManager.__editSelectAll</h4> |
|
1563 <b>__editSelectAll</b>(<i></i>) |
|
1564 |
|
1565 <p> |
|
1566 Private method to handle the select all action. |
|
1567 </p> |
|
1568 <a NAME="ViewManager.__editSelectBrace" ID="ViewManager.__editSelectBrace"></a> |
|
1569 <h4>ViewManager.__editSelectBrace</h4> |
|
1570 <b>__editSelectBrace</b>(<i></i>) |
|
1571 |
|
1572 <p> |
|
1573 Private method to handle the select to brace action. |
|
1574 </p> |
|
1575 <a NAME="ViewManager.__editShowCallTips" ID="ViewManager.__editShowCallTips"></a> |
|
1576 <h4>ViewManager.__editShowCallTips</h4> |
|
1577 <b>__editShowCallTips</b>(<i></i>) |
|
1578 |
|
1579 <p> |
|
1580 Private method to handle the calltips action. |
|
1581 </p> |
|
1582 <a NAME="ViewManager.__editShowCodeInfo" ID="ViewManager.__editShowCodeInfo"></a> |
|
1583 <h4>ViewManager.__editShowCodeInfo</h4> |
|
1584 <b>__editShowCodeInfo</b>(<i></i>) |
|
1585 |
|
1586 <p> |
|
1587 Private method to handle the code info action. |
|
1588 </p> |
|
1589 <a NAME="ViewManager.__editSmartIndent" ID="ViewManager.__editSmartIndent"></a> |
|
1590 <h4>ViewManager.__editSmartIndent</h4> |
|
1591 <b>__editSmartIndent</b>(<i></i>) |
|
1592 |
|
1593 <p> |
|
1594 Private method to handle the smart indent action. |
|
1595 </p> |
|
1596 <a NAME="ViewManager.__editSortSelectedLines" ID="ViewManager.__editSortSelectedLines"></a> |
|
1597 <h4>ViewManager.__editSortSelectedLines</h4> |
|
1598 <b>__editSortSelectedLines</b>(<i></i>) |
|
1599 |
|
1600 <p> |
|
1601 Private slot to sort the selected lines. |
|
1602 </p> |
|
1603 <a NAME="ViewManager.__editSpellingDictionary" ID="ViewManager.__editSpellingDictionary"></a> |
|
1604 <h4>ViewManager.__editSpellingDictionary</h4> |
|
1605 <b>__editSpellingDictionary</b>(<i>dictionaryFile</i>) |
|
1606 |
|
1607 <p> |
|
1608 Private slot to edit the given spelling dictionary. |
|
1609 </p> |
|
1610 <dl> |
|
1611 |
|
1612 <dt><i>dictionaryFile</i></dt> |
|
1613 <dd> |
|
1614 file name of the dictionary to edit (string) |
|
1615 </dd> |
|
1616 </dl> |
|
1617 <a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a> |
|
1618 <h4>ViewManager.__editStreamComment</h4> |
|
1619 <b>__editStreamComment</b>(<i></i>) |
|
1620 |
|
1621 <p> |
|
1622 Private method to handle the stream comment action. |
|
1623 </p> |
|
1624 <a NAME="ViewManager.__editToggleComment" ID="ViewManager.__editToggleComment"></a> |
|
1625 <h4>ViewManager.__editToggleComment</h4> |
|
1626 <b>__editToggleComment</b>(<i></i>) |
|
1627 |
|
1628 <p> |
|
1629 Private method to handle the toggle comment action. |
|
1630 </p> |
|
1631 <a NAME="ViewManager.__editUncomment" ID="ViewManager.__editUncomment"></a> |
|
1632 <h4>ViewManager.__editUncomment</h4> |
|
1633 <b>__editUncomment</b>(<i></i>) |
|
1634 |
|
1635 <p> |
|
1636 Private method to handle the uncomment action. |
|
1637 </p> |
|
1638 <a NAME="ViewManager.__editUndo" ID="ViewManager.__editUndo"></a> |
|
1639 <h4>ViewManager.__editUndo</h4> |
|
1640 <b>__editUndo</b>(<i></i>) |
|
1641 |
|
1642 <p> |
|
1643 Private method to handle the undo action. |
|
1644 </p> |
|
1645 <a NAME="ViewManager.__editUnindent" ID="ViewManager.__editUnindent"></a> |
|
1646 <h4>ViewManager.__editUnindent</h4> |
|
1647 <b>__editUnindent</b>(<i></i>) |
|
1648 |
|
1649 <p> |
|
1650 Private method to handle the unindent action. |
|
1651 </p> |
|
1652 <a NAME="ViewManager.__editUserPEL" ID="ViewManager.__editUserPEL"></a> |
|
1653 <h4>ViewManager.__editUserPEL</h4> |
|
1654 <b>__editUserPEL</b>(<i></i>) |
|
1655 |
|
1656 <p> |
|
1657 Private slot to edit the user exception list. |
|
1658 </p> |
|
1659 <a NAME="ViewManager.__editUserPWL" ID="ViewManager.__editUserPWL"></a> |
|
1660 <h4>ViewManager.__editUserPWL</h4> |
|
1661 <b>__editUserPWL</b>(<i></i>) |
|
1662 |
|
1663 <p> |
|
1664 Private slot to edit the user word list. |
|
1665 </p> |
|
1666 <a NAME="ViewManager.__editorAutoCompletionAPIsAvailable" ID="ViewManager.__editorAutoCompletionAPIsAvailable"></a> |
|
1667 <h4>ViewManager.__editorAutoCompletionAPIsAvailable</h4> |
|
1668 <b>__editorAutoCompletionAPIsAvailable</b>(<i>available, editor</i>) |
|
1669 |
|
1670 <p> |
|
1671 Private method to handle the availability of API autocompletion signal. |
|
1672 </p> |
|
1673 <dl> |
|
1674 |
|
1675 <dt><i>available</i> (bool)</dt> |
|
1676 <dd> |
|
1677 flag indicating the availability of API |
|
1678 autocompletion |
|
1679 </dd> |
|
1680 <dt><i>editor</i> (Editor)</dt> |
|
1681 <dd> |
|
1682 reference to the editor |
|
1683 </dd> |
|
1684 </dl> |
|
1685 <a NAME="ViewManager.__editorCommand" ID="ViewManager.__editorCommand"></a> |
|
1686 <h4>ViewManager.__editorCommand</h4> |
|
1687 <b>__editorCommand</b>(<i>cmd</i>) |
|
1688 |
|
1689 <p> |
|
1690 Private method to send an editor command to the active window. |
|
1691 </p> |
|
1692 <dl> |
|
1693 |
|
1694 <dt><i>cmd</i></dt> |
|
1695 <dd> |
|
1696 the scintilla command to be sent |
|
1697 </dd> |
|
1698 </dl> |
|
1699 <a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> |
|
1700 <h4>ViewManager.__editorConfigChanged</h4> |
|
1701 <b>__editorConfigChanged</b>(<i>editor</i>) |
|
1702 |
|
1703 <p> |
|
1704 Private slot to handle changes of an editor's configuration. |
|
1705 </p> |
|
1706 <dl> |
|
1707 |
|
1708 <dt><i>editor</i> (Editor)</dt> |
|
1709 <dd> |
|
1710 reference to the editor |
|
1711 </dd> |
|
1712 </dl> |
|
1713 <a NAME="ViewManager.__editorDoubleClicked" ID="ViewManager.__editorDoubleClicked"></a> |
|
1714 <h4>ViewManager.__editorDoubleClicked</h4> |
|
1715 <b>__editorDoubleClicked</b>(<i>editor, pos, buttons</i>) |
|
1716 |
|
1717 <p> |
|
1718 Private slot handling mouse double clicks of an editor. |
|
1719 </p> |
|
1720 <p> |
|
1721 Note: This method is simply a multiplexer to re-emit the signal |
|
1722 with the editor prepended. |
|
1723 </p> |
|
1724 <dl> |
|
1725 |
|
1726 <dt><i>editor</i> (Editor)</dt> |
|
1727 <dd> |
|
1728 reference to the editor, that emitted the signal |
|
1729 </dd> |
|
1730 <dt><i>pos</i> (QPoint)</dt> |
|
1731 <dd> |
|
1732 position of the double click |
|
1733 </dd> |
|
1734 <dt><i>buttons</i> (Qt.MouseButtons)</dt> |
|
1735 <dd> |
|
1736 mouse buttons that were double clicked |
|
1737 </dd> |
|
1738 </dl> |
|
1739 <a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> |
|
1740 <h4>ViewManager.__editorOpened</h4> |
|
1741 <b>__editorOpened</b>(<i></i>) |
|
1742 |
|
1743 <p> |
|
1744 Private slot to handle the editorOpened signal. |
|
1745 </p> |
|
1746 <a NAME="ViewManager.__editorRenamed" ID="ViewManager.__editorRenamed"></a> |
|
1747 <h4>ViewManager.__editorRenamed</h4> |
|
1748 <b>__editorRenamed</b>(<i>fn, editor</i>) |
|
1749 |
|
1750 <p> |
|
1751 Private slot to handle the editorRenamed signal. |
|
1752 </p> |
|
1753 <p> |
|
1754 It simply re-emits the signal. |
|
1755 </p> |
|
1756 <dl> |
|
1757 |
|
1758 <dt><i>fn</i> (str)</dt> |
|
1759 <dd> |
|
1760 filename of the renamed editor |
|
1761 </dd> |
|
1762 <dt><i>editor</i> (Editor)</dt> |
|
1763 <dd> |
|
1764 reference to the editor |
|
1765 </dd> |
|
1766 </dl> |
|
1767 <a NAME="ViewManager.__editorSaved" ID="ViewManager.__editorSaved"></a> |
|
1768 <h4>ViewManager.__editorSaved</h4> |
|
1769 <b>__editorSaved</b>(<i>fn, editor</i>) |
|
1770 |
|
1771 <p> |
|
1772 Private slot to handle the editorSaved signal. |
|
1773 </p> |
|
1774 <p> |
|
1775 It simply re-emits the signal. |
|
1776 </p> |
|
1777 <dl> |
|
1778 |
|
1779 <dt><i>fn</i> (str)</dt> |
|
1780 <dd> |
|
1781 filename of the saved editor |
|
1782 </dd> |
|
1783 <dt><i>editor</i> (Editor)</dt> |
|
1784 <dd> |
|
1785 reference to the editor |
|
1786 </dd> |
|
1787 </dl> |
|
1788 <a NAME="ViewManager.__editorSelectionChanged" ID="ViewManager.__editorSelectionChanged"></a> |
|
1789 <h4>ViewManager.__editorSelectionChanged</h4> |
|
1790 <b>__editorSelectionChanged</b>(<i>editor</i>) |
|
1791 |
|
1792 <p> |
|
1793 Private slot to handle changes of the current editors selection. |
|
1794 </p> |
|
1795 <dl> |
|
1796 |
|
1797 <dt><i>editor</i> (Editor)</dt> |
|
1798 <dd> |
|
1799 reference to the editor |
|
1800 </dd> |
|
1801 </dl> |
|
1802 <a NAME="ViewManager.__enableSpellingActions" ID="ViewManager.__enableSpellingActions"></a> |
|
1803 <h4>ViewManager.__enableSpellingActions</h4> |
|
1804 <b>__enableSpellingActions</b>(<i></i>) |
|
1805 |
|
1806 <p> |
|
1807 Private method to set the enabled state of the spelling actions. |
|
1808 </p> |
|
1809 <a NAME="ViewManager.__eolPixmap" ID="ViewManager.__eolPixmap"></a> |
|
1810 <h4>ViewManager.__eolPixmap</h4> |
|
1811 <b>__eolPixmap</b>(<i>eolIndicator</i>) |
|
1812 |
|
1813 <p> |
|
1814 Private method to get an EOL pixmap for an EOL string. |
|
1815 </p> |
|
1816 <dl> |
|
1817 |
|
1818 <dt><i>eolIndicator</i></dt> |
|
1819 <dd> |
|
1820 eol indicator string (string) |
|
1821 </dd> |
|
1822 </dl> |
|
1823 <dl> |
|
1824 <dt>Return:</dt> |
|
1825 <dd> |
|
1826 pixmap for the eol indicator (QPixmap) |
|
1827 </dd> |
|
1828 </dl> |
|
1829 <a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a> |
|
1830 <h4>ViewManager.__exportMenuTriggered</h4> |
|
1831 <b>__exportMenuTriggered</b>(<i>act</i>) |
|
1832 |
|
1833 <p> |
|
1834 Private method to handle the selection of an export format. |
|
1835 </p> |
|
1836 <dl> |
|
1837 |
|
1838 <dt><i>act</i></dt> |
|
1839 <dd> |
|
1840 reference to the action that was triggered (QAction) |
|
1841 </dd> |
|
1842 </dl> |
|
1843 <a NAME="ViewManager.__findLocation" ID="ViewManager.__findLocation"></a> |
|
1844 <h4>ViewManager.__findLocation</h4> |
|
1845 <b>__findLocation</b>(<i></i>) |
|
1846 |
|
1847 <p> |
|
1848 Private method to handle the Find File action. |
|
1849 </p> |
|
1850 <a NAME="ViewManager.__findNextWord" ID="ViewManager.__findNextWord"></a> |
|
1851 <h4>ViewManager.__findNextWord</h4> |
|
1852 <b>__findNextWord</b>(<i></i>) |
|
1853 |
|
1854 <p> |
|
1855 Private slot to find the next occurrence of the current word of the |
|
1856 current editor. |
|
1857 </p> |
|
1858 <a NAME="ViewManager.__findPrevWord" ID="ViewManager.__findPrevWord"></a> |
|
1859 <h4>ViewManager.__findPrevWord</h4> |
|
1860 <b>__findPrevWord</b>(<i></i>) |
|
1861 |
|
1862 <p> |
|
1863 Private slot to find the previous occurrence of the current word of |
|
1864 the current editor. |
|
1865 </p> |
|
1866 <a NAME="ViewManager.__goto" ID="ViewManager.__goto"></a> |
|
1867 <h4>ViewManager.__goto</h4> |
|
1868 <b>__goto</b>(<i></i>) |
|
1869 |
|
1870 <p> |
|
1871 Private method to handle the goto action. |
|
1872 </p> |
|
1873 <a NAME="ViewManager.__gotoBrace" ID="ViewManager.__gotoBrace"></a> |
|
1874 <h4>ViewManager.__gotoBrace</h4> |
|
1875 <b>__gotoBrace</b>(<i></i>) |
|
1876 |
|
1877 <p> |
|
1878 Private method to handle the goto brace action. |
|
1879 </p> |
|
1880 <a NAME="ViewManager.__gotoLastEditPosition" ID="ViewManager.__gotoLastEditPosition"></a> |
|
1881 <h4>ViewManager.__gotoLastEditPosition</h4> |
|
1882 <b>__gotoLastEditPosition</b>(<i></i>) |
|
1883 |
|
1884 <p> |
|
1885 Private method to move the cursor to the last edit position. |
|
1886 </p> |
|
1887 <a NAME="ViewManager.__gotoNextMethodClass" ID="ViewManager.__gotoNextMethodClass"></a> |
|
1888 <h4>ViewManager.__gotoNextMethodClass</h4> |
|
1889 <b>__gotoNextMethodClass</b>(<i></i>) |
|
1890 |
|
1891 <p> |
|
1892 Private slot to go to the next Python/Ruby method or class definition. |
|
1893 </p> |
|
1894 <a NAME="ViewManager.__gotoPreviousMethodClass" ID="ViewManager.__gotoPreviousMethodClass"></a> |
|
1895 <h4>ViewManager.__gotoPreviousMethodClass</h4> |
|
1896 <b>__gotoPreviousMethodClass</b>(<i></i>) |
|
1897 |
|
1898 <p> |
|
1899 Private slot to go to the previous Python/Ruby method or class |
|
1900 definition. |
|
1901 </p> |
|
1902 <a NAME="ViewManager.__gotoSyntaxError" ID="ViewManager.__gotoSyntaxError"></a> |
|
1903 <h4>ViewManager.__gotoSyntaxError</h4> |
|
1904 <b>__gotoSyntaxError</b>(<i></i>) |
|
1905 |
|
1906 <p> |
|
1907 Private method to handle the goto syntax error action. |
|
1908 </p> |
|
1909 <a NAME="ViewManager.__initBookmarkActions" ID="ViewManager.__initBookmarkActions"></a> |
|
1910 <h4>ViewManager.__initBookmarkActions</h4> |
|
1911 <b>__initBookmarkActions</b>(<i></i>) |
|
1912 |
|
1913 <p> |
|
1914 Private method defining the user interface actions for the bookmarks |
|
1915 commands. |
|
1916 </p> |
|
1917 <a NAME="ViewManager.__initContextMenuExporters" ID="ViewManager.__initContextMenuExporters"></a> |
|
1918 <h4>ViewManager.__initContextMenuExporters</h4> |
|
1919 <b>__initContextMenuExporters</b>(<i></i>) |
|
1920 |
|
1921 <p> |
|
1922 Private method used to setup the Exporters sub menu. |
|
1923 </p> |
|
1924 <dl> |
|
1925 <dt>Return:</dt> |
|
1926 <dd> |
|
1927 reference to the generated menu (QMenu) |
|
1928 </dd> |
|
1929 </dl> |
|
1930 <a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a> |
|
1931 <h4>ViewManager.__initEditActions</h4> |
|
1932 <b>__initEditActions</b>(<i></i>) |
|
1933 |
|
1934 <p> |
|
1935 Private method defining the user interface actions for the edit |
|
1936 commands. |
|
1937 </p> |
|
1938 <a NAME="ViewManager.__initFileActions" ID="ViewManager.__initFileActions"></a> |
|
1939 <h4>ViewManager.__initFileActions</h4> |
|
1940 <b>__initFileActions</b>(<i></i>) |
|
1941 |
|
1942 <p> |
|
1943 Private method defining the user interface actions for file handling. |
|
1944 </p> |
|
1945 <a NAME="ViewManager.__initMacroActions" ID="ViewManager.__initMacroActions"></a> |
|
1946 <h4>ViewManager.__initMacroActions</h4> |
|
1947 <b>__initMacroActions</b>(<i></i>) |
|
1948 |
|
1949 <p> |
|
1950 Private method defining the user interface actions for the macro |
|
1951 commands. |
|
1952 </p> |
|
1953 <a NAME="ViewManager.__initSearchActions" ID="ViewManager.__initSearchActions"></a> |
|
1954 <h4>ViewManager.__initSearchActions</h4> |
|
1955 <b>__initSearchActions</b>(<i></i>) |
|
1956 |
|
1957 <p> |
|
1958 Private method defining the user interface actions for the search |
|
1959 commands. |
|
1960 </p> |
|
1961 <a NAME="ViewManager.__initSpellingActions" ID="ViewManager.__initSpellingActions"></a> |
|
1962 <h4>ViewManager.__initSpellingActions</h4> |
|
1963 <b>__initSpellingActions</b>(<i></i>) |
|
1964 |
|
1965 <p> |
|
1966 Private method to initialize the spell checking actions. |
|
1967 </p> |
|
1968 <a NAME="ViewManager.__initViewActions" ID="ViewManager.__initViewActions"></a> |
|
1969 <h4>ViewManager.__initViewActions</h4> |
|
1970 <b>__initViewActions</b>(<i></i>) |
|
1971 |
|
1972 <p> |
|
1973 Private method defining the user interface actions for the view |
|
1974 commands. |
|
1975 </p> |
|
1976 <a NAME="ViewManager.__isEditorInfoSupportedEd" ID="ViewManager.__isEditorInfoSupportedEd"></a> |
|
1977 <h4>ViewManager.__isEditorInfoSupportedEd</h4> |
|
1978 <b>__isEditorInfoSupportedEd</b>(<i>editor</i>) |
|
1979 |
|
1980 <p> |
|
1981 Private method to check, if an editor is supported by the |
|
1982 documentation viewer. |
|
1983 </p> |
|
1984 <dl> |
|
1985 |
|
1986 <dt><i>editor</i> (Editor)</dt> |
|
1987 <dd> |
|
1988 reference to the editor to check for |
|
1989 </dd> |
|
1990 </dl> |
|
1991 <dl> |
|
1992 <dt>Return:</dt> |
|
1993 <dd> |
|
1994 flag indicating the support status |
|
1995 </dd> |
|
1996 </dl> |
|
1997 <dl> |
|
1998 <dt>Return Type:</dt> |
|
1999 <dd> |
|
2000 bool |
|
2001 </dd> |
|
2002 </dl> |
|
2003 <a NAME="ViewManager.__lastEditPositionAvailable" ID="ViewManager.__lastEditPositionAvailable"></a> |
|
2004 <h4>ViewManager.__lastEditPositionAvailable</h4> |
|
2005 <b>__lastEditPositionAvailable</b>(<i></i>) |
|
2006 |
|
2007 <p> |
|
2008 Private slot to handle the lastEditPositionAvailable signal of an |
|
2009 editor. |
|
2010 </p> |
|
2011 <a NAME="ViewManager.__lastEditorClosed" ID="ViewManager.__lastEditorClosed"></a> |
|
2012 <h4>ViewManager.__lastEditorClosed</h4> |
|
2013 <b>__lastEditorClosed</b>(<i></i>) |
|
2014 |
|
2015 <p> |
|
2016 Private slot to handle the lastEditorClosed signal. |
|
2017 </p> |
|
2018 <a NAME="ViewManager.__loadRecent" ID="ViewManager.__loadRecent"></a> |
|
2019 <h4>ViewManager.__loadRecent</h4> |
|
2020 <b>__loadRecent</b>(<i></i>) |
|
2021 |
|
2022 <p> |
|
2023 Private method to load the recently opened filenames. |
|
2024 </p> |
|
2025 <a NAME="ViewManager.__macroDelete" ID="ViewManager.__macroDelete"></a> |
|
2026 <h4>ViewManager.__macroDelete</h4> |
|
2027 <b>__macroDelete</b>(<i></i>) |
|
2028 |
|
2029 <p> |
|
2030 Private method to handle the delete macro action. |
|
2031 </p> |
|
2032 <a NAME="ViewManager.__macroLoad" ID="ViewManager.__macroLoad"></a> |
|
2033 <h4>ViewManager.__macroLoad</h4> |
|
2034 <b>__macroLoad</b>(<i></i>) |
|
2035 |
|
2036 <p> |
|
2037 Private method to handle the load macro action. |
|
2038 </p> |
|
2039 <a NAME="ViewManager.__macroRun" ID="ViewManager.__macroRun"></a> |
|
2040 <h4>ViewManager.__macroRun</h4> |
|
2041 <b>__macroRun</b>(<i></i>) |
|
2042 |
|
2043 <p> |
|
2044 Private method to handle the run macro action. |
|
2045 </p> |
|
2046 <a NAME="ViewManager.__macroSave" ID="ViewManager.__macroSave"></a> |
|
2047 <h4>ViewManager.__macroSave</h4> |
|
2048 <b>__macroSave</b>(<i></i>) |
|
2049 |
|
2050 <p> |
|
2051 Private method to handle the save macro action. |
|
2052 </p> |
|
2053 <a NAME="ViewManager.__macroStartRecording" ID="ViewManager.__macroStartRecording"></a> |
|
2054 <h4>ViewManager.__macroStartRecording</h4> |
|
2055 <b>__macroStartRecording</b>(<i></i>) |
|
2056 |
|
2057 <p> |
|
2058 Private method to handle the start macro recording action. |
|
2059 </p> |
|
2060 <a NAME="ViewManager.__macroStopRecording" ID="ViewManager.__macroStopRecording"></a> |
|
2061 <h4>ViewManager.__macroStopRecording</h4> |
|
2062 <b>__macroStopRecording</b>(<i></i>) |
|
2063 |
|
2064 <p> |
|
2065 Private method to handle the stop macro recording action. |
|
2066 </p> |
|
2067 <a NAME="ViewManager.__newDocumentSplitView" ID="ViewManager.__newDocumentSplitView"></a> |
|
2068 <h4>ViewManager.__newDocumentSplitView</h4> |
|
2069 <b>__newDocumentSplitView</b>(<i></i>) |
|
2070 |
|
2071 <p> |
|
2072 Private method to open a new view of the current editor in a new split. |
|
2073 </p> |
|
2074 <a NAME="ViewManager.__newDocumentView" ID="ViewManager.__newDocumentView"></a> |
|
2075 <h4>ViewManager.__newDocumentView</h4> |
|
2076 <b>__newDocumentView</b>(<i></i>) |
|
2077 |
|
2078 <p> |
|
2079 Private method to open a new view of the current editor. |
|
2080 </p> |
|
2081 <a NAME="ViewManager.__newLineBelow" ID="ViewManager.__newLineBelow"></a> |
|
2082 <h4>ViewManager.__newLineBelow</h4> |
|
2083 <b>__newLineBelow</b>(<i></i>) |
|
2084 |
|
2085 <p> |
|
2086 Private method to insert a new line below the current one even if |
|
2087 cursor is not at the end of the line. |
|
2088 </p> |
|
2089 <a NAME="ViewManager.__nextBookmark" ID="ViewManager.__nextBookmark"></a> |
|
2090 <h4>ViewManager.__nextBookmark</h4> |
|
2091 <b>__nextBookmark</b>(<i></i>) |
|
2092 |
|
2093 <p> |
|
2094 Private method to handle the next bookmark action. |
|
2095 </p> |
|
2096 <a NAME="ViewManager.__nextChange" ID="ViewManager.__nextChange"></a> |
|
2097 <h4>ViewManager.__nextChange</h4> |
|
2098 <b>__nextChange</b>(<i></i>) |
|
2099 |
|
2100 <p> |
|
2101 Private method to handle the next change action. |
|
2102 </p> |
|
2103 <a NAME="ViewManager.__nextTask" ID="ViewManager.__nextTask"></a> |
|
2104 <h4>ViewManager.__nextTask</h4> |
|
2105 <b>__nextTask</b>(<i></i>) |
|
2106 |
|
2107 <p> |
|
2108 Private method to handle the next task action. |
|
2109 </p> |
|
2110 <a NAME="ViewManager.__nextUncovered" ID="ViewManager.__nextUncovered"></a> |
|
2111 <h4>ViewManager.__nextUncovered</h4> |
|
2112 <b>__nextUncovered</b>(<i></i>) |
|
2113 |
|
2114 <p> |
|
2115 Private method to handle the next uncovered action. |
|
2116 </p> |
|
2117 <a NAME="ViewManager.__nextWarning" ID="ViewManager.__nextWarning"></a> |
|
2118 <h4>ViewManager.__nextWarning</h4> |
|
2119 <b>__nextWarning</b>(<i></i>) |
|
2120 |
|
2121 <p> |
|
2122 Private method to handle the next warning action. |
|
2123 </p> |
|
2124 <a NAME="ViewManager.__openFiles" ID="ViewManager.__openFiles"></a> |
|
2125 <h4>ViewManager.__openFiles</h4> |
|
2126 <b>__openFiles</b>(<i></i>) |
|
2127 |
|
2128 <p> |
|
2129 Private slot to open some files. |
|
2130 </p> |
|
2131 <a NAME="ViewManager.__openSourceFile" ID="ViewManager.__openSourceFile"></a> |
|
2132 <h4>ViewManager.__openSourceFile</h4> |
|
2133 <b>__openSourceFile</b>(<i>act</i>) |
|
2134 |
|
2135 <p> |
|
2136 Private method to open a file from the list of recently opened files. |
|
2137 </p> |
|
2138 <dl> |
|
2139 |
|
2140 <dt><i>act</i></dt> |
|
2141 <dd> |
|
2142 reference to the action that triggered (QAction) |
|
2143 </dd> |
|
2144 </dl> |
|
2145 <a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a> |
|
2146 <h4>ViewManager.__previewEditor</h4> |
|
2147 <b>__previewEditor</b>(<i>checked</i>) |
|
2148 |
|
2149 <p> |
|
2150 Private slot to handle a change of the preview selection state. |
|
2151 </p> |
|
2152 <dl> |
|
2153 |
|
2154 <dt><i>checked</i></dt> |
|
2155 <dd> |
|
2156 state of the action (boolean) |
|
2157 </dd> |
|
2158 </dl> |
|
2159 <a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> |
|
2160 <h4>ViewManager.__previousBookmark</h4> |
|
2161 <b>__previousBookmark</b>(<i></i>) |
|
2162 |
|
2163 <p> |
|
2164 Private method to handle the previous bookmark action. |
|
2165 </p> |
|
2166 <a NAME="ViewManager.__previousChange" ID="ViewManager.__previousChange"></a> |
|
2167 <h4>ViewManager.__previousChange</h4> |
|
2168 <b>__previousChange</b>(<i></i>) |
|
2169 |
|
2170 <p> |
|
2171 Private method to handle the previous change action. |
|
2172 </p> |
|
2173 <a NAME="ViewManager.__previousTask" ID="ViewManager.__previousTask"></a> |
|
2174 <h4>ViewManager.__previousTask</h4> |
|
2175 <b>__previousTask</b>(<i></i>) |
|
2176 |
|
2177 <p> |
|
2178 Private method to handle the previous task action. |
|
2179 </p> |
|
2180 <a NAME="ViewManager.__previousUncovered" ID="ViewManager.__previousUncovered"></a> |
|
2181 <h4>ViewManager.__previousUncovered</h4> |
|
2182 <b>__previousUncovered</b>(<i></i>) |
|
2183 |
|
2184 <p> |
|
2185 Private method to handle the previous uncovered action. |
|
2186 </p> |
|
2187 <a NAME="ViewManager.__previousWarning" ID="ViewManager.__previousWarning"></a> |
|
2188 <h4>ViewManager.__previousWarning</h4> |
|
2189 <b>__previousWarning</b>(<i></i>) |
|
2190 |
|
2191 <p> |
|
2192 Private method to handle the previous warning action. |
|
2193 </p> |
|
2194 <a NAME="ViewManager.__replaceFiles" ID="ViewManager.__replaceFiles"></a> |
|
2195 <h4>ViewManager.__replaceFiles</h4> |
|
2196 <b>__replaceFiles</b>(<i></i>) |
|
2197 |
|
2198 <p> |
|
2199 Private method to handle the replace in files action. |
|
2200 </p> |
|
2201 <a NAME="ViewManager.__replaceOpenFiles" ID="ViewManager.__replaceOpenFiles"></a> |
|
2202 <h4>ViewManager.__replaceOpenFiles</h4> |
|
2203 <b>__replaceOpenFiles</b>(<i></i>) |
|
2204 |
|
2205 <p> |
|
2206 Private method to handle the replace in open files action. |
|
2207 </p> |
|
2208 <a NAME="ViewManager.__saveRecent" ID="ViewManager.__saveRecent"></a> |
|
2209 <h4>ViewManager.__saveRecent</h4> |
|
2210 <b>__saveRecent</b>(<i></i>) |
|
2211 |
|
2212 <p> |
|
2213 Private method to save the list of recently opened filenames. |
|
2214 </p> |
|
2215 <a NAME="ViewManager.__searchClearMarkers" ID="ViewManager.__searchClearMarkers"></a> |
|
2216 <h4>ViewManager.__searchClearMarkers</h4> |
|
2217 <b>__searchClearMarkers</b>(<i></i>) |
|
2218 |
|
2219 <p> |
|
2220 Private method to clear the search markers of the active window. |
|
2221 </p> |
|
2222 <a NAME="ViewManager.__searchFiles" ID="ViewManager.__searchFiles"></a> |
|
2223 <h4>ViewManager.__searchFiles</h4> |
|
2224 <b>__searchFiles</b>(<i></i>) |
|
2225 |
|
2226 <p> |
|
2227 Private method to handle the search in files action. |
|
2228 </p> |
|
2229 <a NAME="ViewManager.__searchNext" ID="ViewManager.__searchNext"></a> |
|
2230 <h4>ViewManager.__searchNext</h4> |
|
2231 <b>__searchNext</b>(<i></i>) |
|
2232 |
|
2233 <p> |
|
2234 Private slot to handle the search next action. |
|
2235 </p> |
|
2236 <a NAME="ViewManager.__searchOpenFiles" ID="ViewManager.__searchOpenFiles"></a> |
|
2237 <h4>ViewManager.__searchOpenFiles</h4> |
|
2238 <b>__searchOpenFiles</b>(<i></i>) |
|
2239 |
|
2240 <p> |
|
2241 Private method to handle the search in open files action. |
|
2242 </p> |
|
2243 <a NAME="ViewManager.__searchPrev" ID="ViewManager.__searchPrev"></a> |
|
2244 <h4>ViewManager.__searchPrev</h4> |
|
2245 <b>__searchPrev</b>(<i></i>) |
|
2246 |
|
2247 <p> |
|
2248 Private slot to handle the search previous action. |
|
2249 </p> |
|
2250 <a NAME="ViewManager.__setAutoSpellChecking" ID="ViewManager.__setAutoSpellChecking"></a> |
|
2251 <h4>ViewManager.__setAutoSpellChecking</h4> |
|
2252 <b>__setAutoSpellChecking</b>(<i></i>) |
|
2253 |
|
2254 <p> |
|
2255 Private slot to set the automatic spell checking of all editors. |
|
2256 </p> |
|
2257 <a NAME="ViewManager.__setSbFile" ID="ViewManager.__setSbFile"></a> |
|
2258 <h4>ViewManager.__setSbFile</h4> |
|
2259 <b>__setSbFile</b>(<i>fn=None, line=None, pos=None, encoding=None, language=None, eol=None, zoom=None</i>) |
|
2260 |
|
2261 <p> |
|
2262 Private method to set the file info in the status bar. |
|
2263 </p> |
|
2264 <dl> |
|
2265 |
|
2266 <dt><i>fn</i></dt> |
|
2267 <dd> |
|
2268 filename to display (string) |
|
2269 </dd> |
|
2270 <dt><i>line</i></dt> |
|
2271 <dd> |
|
2272 line number to display (int) |
|
2273 </dd> |
|
2274 <dt><i>pos</i></dt> |
|
2275 <dd> |
|
2276 character position to display (int) |
|
2277 </dd> |
|
2278 <dt><i>encoding</i></dt> |
|
2279 <dd> |
|
2280 encoding name to display (string) |
|
2281 </dd> |
|
2282 <dt><i>language</i></dt> |
|
2283 <dd> |
|
2284 language to display (string) |
|
2285 </dd> |
|
2286 <dt><i>eol</i></dt> |
|
2287 <dd> |
|
2288 eol indicator to display (string) |
|
2289 </dd> |
|
2290 <dt><i>zoom</i></dt> |
|
2291 <dd> |
|
2292 zoom value (integer) |
|
2293 </dd> |
|
2294 </dl> |
|
2295 <a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a> |
|
2296 <h4>ViewManager.__shortenEmptyLines</h4> |
|
2297 <b>__shortenEmptyLines</b>(<i></i>) |
|
2298 |
|
2299 <p> |
|
2300 Private method to handle the shorten empty lines action. |
|
2301 </p> |
|
2302 <a NAME="ViewManager.__showBookmarkMenu" ID="ViewManager.__showBookmarkMenu"></a> |
|
2303 <h4>ViewManager.__showBookmarkMenu</h4> |
|
2304 <b>__showBookmarkMenu</b>(<i></i>) |
|
2305 |
|
2306 <p> |
|
2307 Private method to set up the bookmark menu. |
|
2308 </p> |
|
2309 <a NAME="ViewManager.__showBookmarkedMenu" ID="ViewManager.__showBookmarkedMenu"></a> |
|
2310 <h4>ViewManager.__showBookmarkedMenu</h4> |
|
2311 <b>__showBookmarkedMenu</b>(<i></i>) |
|
2312 |
|
2313 <p> |
|
2314 Private method to set up bookmarked files menu. |
|
2315 </p> |
|
2316 <a NAME="ViewManager.__showBookmarksMenu" ID="ViewManager.__showBookmarksMenu"></a> |
|
2317 <h4>ViewManager.__showBookmarksMenu</h4> |
|
2318 <b>__showBookmarksMenu</b>(<i></i>) |
|
2319 |
|
2320 <p> |
|
2321 Private method to handle the show bookmarks menu signal. |
|
2322 </p> |
|
2323 <a NAME="ViewManager.__showEditSpellingMenu" ID="ViewManager.__showEditSpellingMenu"></a> |
|
2324 <h4>ViewManager.__showEditSpellingMenu</h4> |
|
2325 <b>__showEditSpellingMenu</b>(<i></i>) |
|
2326 |
|
2327 <p> |
|
2328 Private method to set up the edit dictionaries menu. |
|
2329 </p> |
|
2330 <a NAME="ViewManager.__showEncodingsMenu" ID="ViewManager.__showEncodingsMenu"></a> |
|
2331 <h4>ViewManager.__showEncodingsMenu</h4> |
|
2332 <b>__showEncodingsMenu</b>(<i>pos</i>) |
|
2333 |
|
2334 <p> |
|
2335 Private slot to show the Encodings menu of the current editor. |
|
2336 </p> |
|
2337 <dl> |
|
2338 |
|
2339 <dt><i>pos</i></dt> |
|
2340 <dd> |
|
2341 position the menu should be shown at (QPoint) |
|
2342 </dd> |
|
2343 </dl> |
|
2344 <a NAME="ViewManager.__showEolMenu" ID="ViewManager.__showEolMenu"></a> |
|
2345 <h4>ViewManager.__showEolMenu</h4> |
|
2346 <b>__showEolMenu</b>(<i>pos</i>) |
|
2347 |
|
2348 <p> |
|
2349 Private slot to show the EOL menu of the current editor. |
|
2350 </p> |
|
2351 <dl> |
|
2352 |
|
2353 <dt><i>pos</i></dt> |
|
2354 <dd> |
|
2355 position the menu should be shown at (QPoint) |
|
2356 </dd> |
|
2357 </dl> |
|
2358 <a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a> |
|
2359 <h4>ViewManager.__showFileMenu</h4> |
|
2360 <b>__showFileMenu</b>(<i></i>) |
|
2361 |
|
2362 <p> |
|
2363 Private method to set up the file menu. |
|
2364 </p> |
|
2365 <a NAME="ViewManager.__showLanguagesMenu" ID="ViewManager.__showLanguagesMenu"></a> |
|
2366 <h4>ViewManager.__showLanguagesMenu</h4> |
|
2367 <b>__showLanguagesMenu</b>(<i>pos</i>) |
|
2368 |
|
2369 <p> |
|
2370 Private slot to show the Languages menu of the current editor. |
|
2371 </p> |
|
2372 <dl> |
|
2373 |
|
2374 <dt><i>pos</i></dt> |
|
2375 <dd> |
|
2376 position the menu should be shown at (QPoint) |
|
2377 </dd> |
|
2378 </dl> |
|
2379 <a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a> |
|
2380 <h4>ViewManager.__showRecentMenu</h4> |
|
2381 <b>__showRecentMenu</b>(<i></i>) |
|
2382 |
|
2383 <p> |
|
2384 Private method to set up recent files menu. |
|
2385 </p> |
|
2386 <a NAME="ViewManager.__spellCheck" ID="ViewManager.__spellCheck"></a> |
|
2387 <h4>ViewManager.__spellCheck</h4> |
|
2388 <b>__spellCheck</b>(<i></i>) |
|
2389 |
|
2390 <p> |
|
2391 Private slot to perform a spell check of the current editor. |
|
2392 </p> |
|
2393 <a NAME="ViewManager.__splitOrientation" ID="ViewManager.__splitOrientation"></a> |
|
2394 <h4>ViewManager.__splitOrientation</h4> |
|
2395 <b>__splitOrientation</b>(<i>checked</i>) |
|
2396 |
|
2397 <p> |
|
2398 Private method to handle the split orientation action. |
|
2399 </p> |
|
2400 <dl> |
|
2401 |
|
2402 <dt><i>checked</i></dt> |
|
2403 <dd> |
|
2404 flag indicating the checked state of the action |
|
2405 (boolean). True means splitting horizontally. |
|
2406 </dd> |
|
2407 </dl> |
|
2408 <a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a> |
|
2409 <h4>ViewManager.__splitView</h4> |
|
2410 <b>__splitView</b>(<i></i>) |
|
2411 |
|
2412 <p> |
|
2413 Private method to handle the split view action. |
|
2414 </p> |
|
2415 <a NAME="ViewManager.__taskMarkersUpdated" ID="ViewManager.__taskMarkersUpdated"></a> |
|
2416 <h4>ViewManager.__taskMarkersUpdated</h4> |
|
2417 <b>__taskMarkersUpdated</b>(<i>editor</i>) |
|
2418 |
|
2419 <p> |
|
2420 Private slot to handle the taskMarkersUpdated signal. |
|
2421 </p> |
|
2422 <dl> |
|
2423 |
|
2424 <dt><i>editor</i></dt> |
|
2425 <dd> |
|
2426 editor that sent the signal |
|
2427 </dd> |
|
2428 </dl> |
|
2429 <a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a> |
|
2430 <h4>ViewManager.__toggleAll</h4> |
|
2431 <b>__toggleAll</b>(<i></i>) |
|
2432 |
|
2433 <p> |
|
2434 Private method to handle the toggle all folds action. |
|
2435 </p> |
|
2436 <a NAME="ViewManager.__toggleAllChildren" ID="ViewManager.__toggleAllChildren"></a> |
|
2437 <h4>ViewManager.__toggleAllChildren</h4> |
|
2438 <b>__toggleAllChildren</b>(<i></i>) |
|
2439 |
|
2440 <p> |
|
2441 Private method to handle the toggle all folds (including children) |
|
2442 action. |
|
2443 </p> |
|
2444 <a NAME="ViewManager.__toggleBookmark" ID="ViewManager.__toggleBookmark"></a> |
|
2445 <h4>ViewManager.__toggleBookmark</h4> |
|
2446 <b>__toggleBookmark</b>(<i></i>) |
|
2447 |
|
2448 <p> |
|
2449 Private method to handle the toggle bookmark action. |
|
2450 </p> |
|
2451 <a NAME="ViewManager.__toggleCurrent" ID="ViewManager.__toggleCurrent"></a> |
|
2452 <h4>ViewManager.__toggleCurrent</h4> |
|
2453 <b>__toggleCurrent</b>(<i></i>) |
|
2454 |
|
2455 <p> |
|
2456 Private method to handle the toggle current fold action. |
|
2457 </p> |
|
2458 <a NAME="ViewManager.__unhighlight" ID="ViewManager.__unhighlight"></a> |
|
2459 <h4>ViewManager.__unhighlight</h4> |
|
2460 <b>__unhighlight</b>(<i></i>) |
|
2461 |
|
2462 <p> |
|
2463 Private slot to switch of all highlights. |
|
2464 </p> |
|
2465 <a NAME="ViewManager.__zoom" ID="ViewManager.__zoom"></a> |
|
2466 <h4>ViewManager.__zoom</h4> |
|
2467 <b>__zoom</b>(<i></i>) |
|
2468 |
|
2469 <p> |
|
2470 Private method to handle the zoom action. |
|
2471 </p> |
|
2472 <a NAME="ViewManager.__zoomIn" ID="ViewManager.__zoomIn"></a> |
|
2473 <h4>ViewManager.__zoomIn</h4> |
|
2474 <b>__zoomIn</b>(<i></i>) |
|
2475 |
|
2476 <p> |
|
2477 Private method to handle the zoom in action. |
|
2478 </p> |
|
2479 <a NAME="ViewManager.__zoomOut" ID="ViewManager.__zoomOut"></a> |
|
2480 <h4>ViewManager.__zoomOut</h4> |
|
2481 <b>__zoomOut</b>(<i></i>) |
|
2482 |
|
2483 <p> |
|
2484 Private method to handle the zoom out action. |
|
2485 </p> |
|
2486 <a NAME="ViewManager.__zoomReset" ID="ViewManager.__zoomReset"></a> |
|
2487 <h4>ViewManager.__zoomReset</h4> |
|
2488 <b>__zoomReset</b>(<i></i>) |
|
2489 |
|
2490 <p> |
|
2491 Private method to reset the zoom factor. |
|
2492 </p> |
|
2493 <a NAME="ViewManager.__zoomTo" ID="ViewManager.__zoomTo"></a> |
|
2494 <h4>ViewManager.__zoomTo</h4> |
|
2495 <b>__zoomTo</b>(<i>value</i>) |
|
2496 |
|
2497 <p> |
|
2498 Private slot to zoom to a given value. |
|
2499 </p> |
|
2500 <dl> |
|
2501 |
|
2502 <dt><i>value</i></dt> |
|
2503 <dd> |
|
2504 zoom value to be set (integer) |
|
2505 </dd> |
|
2506 </dl> |
|
2507 <a NAME="ViewManager._addView" ID="ViewManager._addView"></a> |
|
2508 <h4>ViewManager._addView</h4> |
|
2509 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) |
|
2510 |
|
2511 <p> |
|
2512 Protected method to add a view (i.e. window). |
|
2513 </p> |
|
2514 <dl> |
|
2515 |
|
2516 <dt><i>win</i> (EditorAssembly)</dt> |
|
2517 <dd> |
|
2518 editor assembly to be added |
|
2519 </dd> |
|
2520 <dt><i>fn</i> (str)</dt> |
|
2521 <dd> |
|
2522 filename of this editor |
|
2523 </dd> |
|
2524 <dt><i>noName</i> (str)</dt> |
|
2525 <dd> |
|
2526 name to be used for an unnamed editor |
|
2527 </dd> |
|
2528 <dt><i>addNext</i> (bool)</dt> |
|
2529 <dd> |
|
2530 flag indicating to add the view next to the current |
|
2531 view |
|
2532 </dd> |
|
2533 <dt><i>indexes</i> (tuple of two int)</dt> |
|
2534 <dd> |
|
2535 of the editor, first the split view index, second the |
|
2536 index within the view |
|
2537 </dd> |
|
2538 </dl> |
|
2539 <dl> |
|
2540 |
|
2541 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2542 <dd> |
|
2543 Not implemented |
|
2544 </dd> |
|
2545 </dl> |
|
2546 <a NAME="ViewManager._checkActions" ID="ViewManager._checkActions"></a> |
|
2547 <h4>ViewManager._checkActions</h4> |
|
2548 <b>_checkActions</b>(<i>editor, setSb=True</i>) |
|
2549 |
|
2550 <p> |
|
2551 Protected slot to check some actions for their enable/disable status |
|
2552 and set the statusbar info. |
|
2553 </p> |
|
2554 <dl> |
|
2555 |
|
2556 <dt><i>editor</i></dt> |
|
2557 <dd> |
|
2558 editor window |
|
2559 </dd> |
|
2560 <dt><i>setSb</i></dt> |
|
2561 <dd> |
|
2562 flag indicating an update of the status bar is wanted |
|
2563 (boolean) |
|
2564 </dd> |
|
2565 </dl> |
|
2566 <a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a> |
|
2567 <h4>ViewManager._getOpenFileFilter</h4> |
|
2568 <b>_getOpenFileFilter</b>(<i></i>) |
|
2569 |
|
2570 <p> |
|
2571 Protected method to return the active filename filter for a file open |
|
2572 dialog. |
|
2573 </p> |
|
2574 <p> |
|
2575 The appropriate filename filter is determined by file extension of |
|
2576 the currently active editor. |
|
2577 </p> |
|
2578 <dl> |
|
2579 <dt>Return:</dt> |
|
2580 <dd> |
|
2581 name of the filename filter (string) or None |
|
2582 </dd> |
|
2583 </dl> |
|
2584 <a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a> |
|
2585 <h4>ViewManager._getOpenStartDir</h4> |
|
2586 <b>_getOpenStartDir</b>(<i></i>) |
|
2587 |
|
2588 <p> |
|
2589 Protected method to return the starting directory for a file open |
|
2590 dialog. |
|
2591 </p> |
|
2592 <p> |
|
2593 The appropriate starting directory is calculated |
|
2594 using the following search order, until a match is found:<br /> |
|
2595 1: Directory of currently active editor<br /> |
|
2596 2: Directory of currently active Project<br /> |
|
2597 3: CWD |
|
2598 </p> |
|
2599 <dl> |
|
2600 <dt>Return:</dt> |
|
2601 <dd> |
|
2602 name of directory to start (string) |
|
2603 </dd> |
|
2604 </dl> |
|
2605 <a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a> |
|
2606 <h4>ViewManager._initWindowActions</h4> |
|
2607 <b>_initWindowActions</b>(<i></i>) |
|
2608 |
|
2609 <p> |
|
2610 Protected method to define the user interface actions for window |
|
2611 handling. |
|
2612 </p> |
|
2613 <dl> |
|
2614 |
|
2615 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2616 <dd> |
|
2617 Not implemented |
|
2618 </dd> |
|
2619 </dl> |
|
2620 <a NAME="ViewManager._modificationStatusChanged" ID="ViewManager._modificationStatusChanged"></a> |
|
2621 <h4>ViewManager._modificationStatusChanged</h4> |
|
2622 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
|
2623 |
|
2624 <p> |
|
2625 Protected slot to handle the modificationStatusChanged signal. |
|
2626 </p> |
|
2627 <dl> |
|
2628 |
|
2629 <dt><i>m</i></dt> |
|
2630 <dd> |
|
2631 flag indicating the modification status (boolean) |
|
2632 </dd> |
|
2633 <dt><i>editor</i></dt> |
|
2634 <dd> |
|
2635 editor window changed |
|
2636 </dd> |
|
2637 </dl> |
|
2638 <dl> |
|
2639 |
|
2640 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2641 <dd> |
|
2642 Not implemented |
|
2643 </dd> |
|
2644 </dl> |
|
2645 <a NAME="ViewManager._removeAllViews" ID="ViewManager._removeAllViews"></a> |
|
2646 <h4>ViewManager._removeAllViews</h4> |
|
2647 <b>_removeAllViews</b>(<i></i>) |
|
2648 |
|
2649 <p> |
|
2650 Protected method to remove all views (i.e. windows). |
|
2651 </p> |
|
2652 <dl> |
|
2653 |
|
2654 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2655 <dd> |
|
2656 Not implemented |
|
2657 </dd> |
|
2658 </dl> |
|
2659 <a NAME="ViewManager._removeView" ID="ViewManager._removeView"></a> |
|
2660 <h4>ViewManager._removeView</h4> |
|
2661 <b>_removeView</b>(<i>win</i>) |
|
2662 |
|
2663 <p> |
|
2664 Protected method to remove a view (i.e. window). |
|
2665 </p> |
|
2666 <dl> |
|
2667 |
|
2668 <dt><i>win</i></dt> |
|
2669 <dd> |
|
2670 editor window to be removed |
|
2671 </dd> |
|
2672 </dl> |
|
2673 <dl> |
|
2674 |
|
2675 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2676 <dd> |
|
2677 Not implemented |
|
2678 </dd> |
|
2679 </dl> |
|
2680 <a NAME="ViewManager._showView" ID="ViewManager._showView"></a> |
|
2681 <h4>ViewManager._showView</h4> |
|
2682 <b>_showView</b>(<i>win, fn=None</i>) |
|
2683 |
|
2684 <p> |
|
2685 Protected method to show a view (i.e. window). |
|
2686 </p> |
|
2687 <dl> |
|
2688 |
|
2689 <dt><i>win</i></dt> |
|
2690 <dd> |
|
2691 editor assembly to be shown |
|
2692 </dd> |
|
2693 <dt><i>fn</i></dt> |
|
2694 <dd> |
|
2695 filename of this editor |
|
2696 </dd> |
|
2697 </dl> |
|
2698 <dl> |
|
2699 |
|
2700 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2701 <dd> |
|
2702 Not implemented |
|
2703 </dd> |
|
2704 </dl> |
|
2705 <a NAME="ViewManager._syntaxErrorToggled" ID="ViewManager._syntaxErrorToggled"></a> |
|
2706 <h4>ViewManager._syntaxErrorToggled</h4> |
|
2707 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
|
2708 |
|
2709 <p> |
|
2710 Protected slot to handle the syntaxerrorToggled signal. |
|
2711 </p> |
|
2712 <p> |
|
2713 It checks some syntax error actions and reemits the signal. |
|
2714 </p> |
|
2715 <dl> |
|
2716 |
|
2717 <dt><i>editor</i></dt> |
|
2718 <dd> |
|
2719 editor that sent the signal |
|
2720 </dd> |
|
2721 </dl> |
|
2722 <a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a> |
|
2723 <h4>ViewManager.activeWindow</h4> |
|
2724 <b>activeWindow</b>(<i></i>) |
|
2725 |
|
2726 <p> |
|
2727 Public method to return the active (i.e. current) window. |
|
2728 </p> |
|
2729 <dl> |
|
2730 <dt>Return:</dt> |
|
2731 <dd> |
|
2732 reference to the active editor |
|
2733 </dd> |
|
2734 </dl> |
|
2735 <dl> |
|
2736 |
|
2737 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2738 <dd> |
|
2739 Not implemented |
|
2740 </dd> |
|
2741 </dl> |
|
2742 <a NAME="ViewManager.addSplit" ID="ViewManager.addSplit"></a> |
|
2743 <h4>ViewManager.addSplit</h4> |
|
2744 <b>addSplit</b>(<i></i>) |
|
2745 |
|
2746 <p> |
|
2747 Public method used to split the current view. |
|
2748 </p> |
|
2749 <a NAME="ViewManager.addToExtrasMenu" ID="ViewManager.addToExtrasMenu"></a> |
|
2750 <h4>ViewManager.addToExtrasMenu</h4> |
|
2751 <b>addToExtrasMenu</b>(<i>menu</i>) |
|
2752 |
|
2753 <p> |
|
2754 Public method to add some actions to the Extras menu. |
|
2755 </p> |
|
2756 <dl> |
|
2757 |
|
2758 <dt><i>menu</i></dt> |
|
2759 <dd> |
|
2760 reference to the menu to add actions to (QMenu) |
|
2761 </dd> |
|
2762 </dl> |
|
2763 <a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a> |
|
2764 <h4>ViewManager.addToRecentList</h4> |
|
2765 <b>addToRecentList</b>(<i>fn</i>) |
|
2766 |
|
2767 <p> |
|
2768 Public slot to add a filename to the list of recently opened files. |
|
2769 </p> |
|
2770 <dl> |
|
2771 |
|
2772 <dt><i>fn</i></dt> |
|
2773 <dd> |
|
2774 name of the file to be added |
|
2775 </dd> |
|
2776 </dl> |
|
2777 <a NAME="ViewManager.appFocusChanged" ID="ViewManager.appFocusChanged"></a> |
|
2778 <h4>ViewManager.appFocusChanged</h4> |
|
2779 <b>appFocusChanged</b>(<i>old, now</i>) |
|
2780 |
|
2781 <p> |
|
2782 Public method to handle the global change of focus. |
|
2783 </p> |
|
2784 <dl> |
|
2785 |
|
2786 <dt><i>old</i> (QWidget)</dt> |
|
2787 <dd> |
|
2788 reference to the widget loosing focus |
|
2789 </dd> |
|
2790 <dt><i>now</i> (QWidget)</dt> |
|
2791 <dd> |
|
2792 reference to the widget gaining focus |
|
2793 </dd> |
|
2794 </dl> |
|
2795 <a NAME="ViewManager.canCascade" ID="ViewManager.canCascade"></a> |
|
2796 <h4>ViewManager.canCascade</h4> |
|
2797 <b>canCascade</b>(<i></i>) |
|
2798 |
|
2799 <p> |
|
2800 Public method to signal if cascading of managed windows is available. |
|
2801 </p> |
|
2802 <dl> |
|
2803 <dt>Return:</dt> |
|
2804 <dd> |
|
2805 flag indicating cascading of windows is available |
|
2806 </dd> |
|
2807 </dl> |
|
2808 <dl> |
|
2809 |
|
2810 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2811 <dd> |
|
2812 Not implemented |
|
2813 </dd> |
|
2814 </dl> |
|
2815 <a NAME="ViewManager.canSplit" ID="ViewManager.canSplit"></a> |
|
2816 <h4>ViewManager.canSplit</h4> |
|
2817 <b>canSplit</b>(<i></i>) |
|
2818 |
|
2819 <p> |
|
2820 Public method to signal if splitting of the view is available. |
|
2821 </p> |
|
2822 <dl> |
|
2823 <dt>Return:</dt> |
|
2824 <dd> |
|
2825 flag indicating splitting of the view is available. |
|
2826 </dd> |
|
2827 </dl> |
|
2828 <a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a> |
|
2829 <h4>ViewManager.canTile</h4> |
|
2830 <b>canTile</b>(<i></i>) |
|
2831 |
|
2832 <p> |
|
2833 Public method to signal if tiling of managed windows is available. |
|
2834 </p> |
|
2835 <dl> |
|
2836 <dt>Return:</dt> |
|
2837 <dd> |
|
2838 flag indicating tiling of windows is available |
|
2839 </dd> |
|
2840 </dl> |
|
2841 <dl> |
|
2842 |
|
2843 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2844 <dd> |
|
2845 Not implemented |
|
2846 </dd> |
|
2847 </dl> |
|
2848 <a NAME="ViewManager.cancelSharedEdit" ID="ViewManager.cancelSharedEdit"></a> |
|
2849 <h4>ViewManager.cancelSharedEdit</h4> |
|
2850 <b>cancelSharedEdit</b>(<i></i>) |
|
2851 |
|
2852 <p> |
|
2853 Public slot to cancel a shared edit session for the current editor. |
|
2854 </p> |
|
2855 <a NAME="ViewManager.cascade" ID="ViewManager.cascade"></a> |
|
2856 <h4>ViewManager.cascade</h4> |
|
2857 <b>cascade</b>(<i></i>) |
|
2858 |
|
2859 <p> |
|
2860 Public method to cascade the managed windows. |
|
2861 </p> |
|
2862 <dl> |
|
2863 |
|
2864 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2865 <dd> |
|
2866 Not implemented |
|
2867 </dd> |
|
2868 </dl> |
|
2869 <a NAME="ViewManager.checkAllDirty" ID="ViewManager.checkAllDirty"></a> |
|
2870 <h4>ViewManager.checkAllDirty</h4> |
|
2871 <b>checkAllDirty</b>(<i></i>) |
|
2872 |
|
2873 <p> |
|
2874 Public method to check the dirty status of all editors. |
|
2875 </p> |
|
2876 <dl> |
|
2877 <dt>Return:</dt> |
|
2878 <dd> |
|
2879 flag indicating successful reset of all dirty flags |
|
2880 </dd> |
|
2881 </dl> |
|
2882 <dl> |
|
2883 <dt>Return Type:</dt> |
|
2884 <dd> |
|
2885 bool |
|
2886 </dd> |
|
2887 </dl> |
|
2888 <a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> |
|
2889 <h4>ViewManager.checkDirty</h4> |
|
2890 <b>checkDirty</b>(<i>editor, autosave=False</i>) |
|
2891 |
|
2892 <p> |
|
2893 Public method to check the dirty status and open a message window. |
|
2894 </p> |
|
2895 <dl> |
|
2896 |
|
2897 <dt><i>editor</i> (Editor)</dt> |
|
2898 <dd> |
|
2899 editor window to check |
|
2900 </dd> |
|
2901 <dt><i>autosave</i> (bool)</dt> |
|
2902 <dd> |
|
2903 flag indicating that the file should be saved |
|
2904 automatically |
|
2905 </dd> |
|
2906 </dl> |
|
2907 <dl> |
|
2908 <dt>Return:</dt> |
|
2909 <dd> |
|
2910 flag indicating successful reset of the dirty flag |
|
2911 </dd> |
|
2912 </dl> |
|
2913 <dl> |
|
2914 <dt>Return Type:</dt> |
|
2915 <dd> |
|
2916 bool |
|
2917 </dd> |
|
2918 </dl> |
|
2919 <a NAME="ViewManager.checkFileDirty" ID="ViewManager.checkFileDirty"></a> |
|
2920 <h4>ViewManager.checkFileDirty</h4> |
|
2921 <b>checkFileDirty</b>(<i>fn</i>) |
|
2922 |
|
2923 <p> |
|
2924 Public method to check the dirty status of an editor given its file |
|
2925 name and open a message window. |
|
2926 </p> |
|
2927 <dl> |
|
2928 |
|
2929 <dt><i>fn</i> (str)</dt> |
|
2930 <dd> |
|
2931 file name of editor to be checked |
|
2932 </dd> |
|
2933 </dl> |
|
2934 <dl> |
|
2935 <dt>Return:</dt> |
|
2936 <dd> |
|
2937 flag indicating successful reset of the dirty flag |
|
2938 </dd> |
|
2939 </dl> |
|
2940 <dl> |
|
2941 <dt>Return Type:</dt> |
|
2942 <dd> |
|
2943 bool |
|
2944 </dd> |
|
2945 </dl> |
|
2946 <a NAME="ViewManager.clearRecent" ID="ViewManager.clearRecent"></a> |
|
2947 <h4>ViewManager.clearRecent</h4> |
|
2948 <b>clearRecent</b>(<i></i>) |
|
2949 |
|
2950 <p> |
|
2951 Public method to clear the recent files menu. |
|
2952 </p> |
|
2953 <a NAME="ViewManager.cloneEditor" ID="ViewManager.cloneEditor"></a> |
|
2954 <h4>ViewManager.cloneEditor</h4> |
|
2955 <b>cloneEditor</b>(<i>caller, filetype, fn</i>) |
|
2956 |
|
2957 <p> |
|
2958 Public method to clone an editor displaying the given document. |
|
2959 </p> |
|
2960 <dl> |
|
2961 |
|
2962 <dt><i>caller</i></dt> |
|
2963 <dd> |
|
2964 reference to the editor calling this method |
|
2965 </dd> |
|
2966 <dt><i>filetype</i></dt> |
|
2967 <dd> |
|
2968 type of the source file (string) |
|
2969 </dd> |
|
2970 <dt><i>fn</i></dt> |
|
2971 <dd> |
|
2972 filename of this view |
|
2973 </dd> |
|
2974 </dl> |
|
2975 <dl> |
|
2976 <dt>Return:</dt> |
|
2977 <dd> |
|
2978 reference to the new editor object (Editor.Editor) and the new |
|
2979 editor assembly object (EditorAssembly.EditorAssembly) |
|
2980 </dd> |
|
2981 </dl> |
|
2982 <a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a> |
|
2983 <h4>ViewManager.closeAllWindows</h4> |
|
2984 <b>closeAllWindows</b>(<i>ignoreDirty=False</i>) |
|
2985 |
|
2986 <p> |
|
2987 Public method to close all editor windows. |
|
2988 </p> |
|
2989 <dl> |
|
2990 |
|
2991 <dt><i>ignoreDirty</i> (bool)</dt> |
|
2992 <dd> |
|
2993 flag indicating to ignore the 'dirty' status |
|
2994 </dd> |
|
2995 </dl> |
|
2996 <a NAME="ViewManager.closeCurrentWindow" ID="ViewManager.closeCurrentWindow"></a> |
|
2997 <h4>ViewManager.closeCurrentWindow</h4> |
|
2998 <b>closeCurrentWindow</b>(<i></i>) |
|
2999 |
|
3000 <p> |
|
3001 Public method to close the current window. |
|
3002 </p> |
|
3003 <dl> |
|
3004 <dt>Return:</dt> |
|
3005 <dd> |
|
3006 flag indicating success (boolean) |
|
3007 </dd> |
|
3008 </dl> |
|
3009 <a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a> |
|
3010 <h4>ViewManager.closeEditor</h4> |
|
3011 <b>closeEditor</b>(<i>editor, ignoreDirty=False</i>) |
|
3012 |
|
3013 <p> |
|
3014 Public method to close an editor window. |
|
3015 </p> |
|
3016 <dl> |
|
3017 |
|
3018 <dt><i>editor</i> (Editor)</dt> |
|
3019 <dd> |
|
3020 editor window to be closed |
|
3021 </dd> |
|
3022 <dt><i>ignoreDirty</i> (bool)</dt> |
|
3023 <dd> |
|
3024 flag indicating to ignore the 'dirty' status |
|
3025 </dd> |
|
3026 </dl> |
|
3027 <dl> |
|
3028 <dt>Return:</dt> |
|
3029 <dd> |
|
3030 flag indicating success |
|
3031 </dd> |
|
3032 </dl> |
|
3033 <dl> |
|
3034 <dt>Return Type:</dt> |
|
3035 <dd> |
|
3036 bool |
|
3037 </dd> |
|
3038 </dl> |
|
3039 <a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a> |
|
3040 <h4>ViewManager.closeEditorWindow</h4> |
|
3041 <b>closeEditorWindow</b>(<i>editor</i>) |
|
3042 |
|
3043 <p> |
|
3044 Public method to close an arbitrary source editor. |
|
3045 </p> |
|
3046 <dl> |
|
3047 |
|
3048 <dt><i>editor</i></dt> |
|
3049 <dd> |
|
3050 editor to be closed |
|
3051 </dd> |
|
3052 </dl> |
|
3053 <a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a> |
|
3054 <h4>ViewManager.closeViewManager</h4> |
|
3055 <b>closeViewManager</b>(<i></i>) |
|
3056 |
|
3057 <p> |
|
3058 Public method to shutdown the viewmanager. |
|
3059 </p> |
|
3060 <p> |
|
3061 If it cannot close all editor windows, it aborts the shutdown process. |
|
3062 </p> |
|
3063 <dl> |
|
3064 <dt>Return:</dt> |
|
3065 <dd> |
|
3066 flag indicating success (boolean) |
|
3067 </dd> |
|
3068 </dl> |
|
3069 <a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a> |
|
3070 <h4>ViewManager.closeWindow</h4> |
|
3071 <b>closeWindow</b>(<i>fn, ignoreDirty=False</i>) |
|
3072 |
|
3073 <p> |
|
3074 Public method to close an arbitrary source editor. |
|
3075 </p> |
|
3076 <dl> |
|
3077 |
|
3078 <dt><i>fn</i> (str)</dt> |
|
3079 <dd> |
|
3080 file name of the editor to be closed |
|
3081 </dd> |
|
3082 <dt><i>ignoreDirty</i> (bool)</dt> |
|
3083 <dd> |
|
3084 flag indicating to ignore the 'dirty' status |
|
3085 </dd> |
|
3086 </dl> |
|
3087 <dl> |
|
3088 <dt>Return:</dt> |
|
3089 <dd> |
|
3090 flag indicating success |
|
3091 </dd> |
|
3092 </dl> |
|
3093 <dl> |
|
3094 <dt>Return Type:</dt> |
|
3095 <dd> |
|
3096 bool |
|
3097 </dd> |
|
3098 </dl> |
|
3099 <a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a> |
|
3100 <h4>ViewManager.editorsCheckFocusInEnabled</h4> |
|
3101 <b>editorsCheckFocusInEnabled</b>(<i></i>) |
|
3102 |
|
3103 <p> |
|
3104 Public method returning the flag indicating editors should perform |
|
3105 focus in checks. |
|
3106 </p> |
|
3107 <dl> |
|
3108 <dt>Return:</dt> |
|
3109 <dd> |
|
3110 flag indicating focus in checks should be performed (boolean) |
|
3111 </dd> |
|
3112 </dl> |
|
3113 <a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a> |
|
3114 <h4>ViewManager.enableEditorsCheckFocusIn</h4> |
|
3115 <b>enableEditorsCheckFocusIn</b>(<i>enabled</i>) |
|
3116 |
|
3117 <p> |
|
3118 Public method to set a flag enabling the editors to perform focus in |
|
3119 checks. |
|
3120 </p> |
|
3121 <dl> |
|
3122 |
|
3123 <dt><i>enabled</i></dt> |
|
3124 <dd> |
|
3125 flag indicating focus in checks should be performed |
|
3126 (boolean) |
|
3127 </dd> |
|
3128 </dl> |
|
3129 <a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a> |
|
3130 <h4>ViewManager.eventFilter</h4> |
|
3131 <b>eventFilter</b>(<i>qobject, event</i>) |
|
3132 |
|
3133 <p> |
|
3134 Public method called to filter an event. |
|
3135 </p> |
|
3136 <dl> |
|
3137 |
|
3138 <dt><i>qobject</i></dt> |
|
3139 <dd> |
|
3140 object, that generated the event (QObject) |
|
3141 </dd> |
|
3142 <dt><i>event</i></dt> |
|
3143 <dd> |
|
3144 the event, that was generated by object (QEvent) |
|
3145 </dd> |
|
3146 </dl> |
|
3147 <dl> |
|
3148 <dt>Return:</dt> |
|
3149 <dd> |
|
3150 flag indicating if event was filtered out |
|
3151 </dd> |
|
3152 </dl> |
|
3153 <a NAME="ViewManager.exit" ID="ViewManager.exit"></a> |
|
3154 <h4>ViewManager.exit</h4> |
|
3155 <b>exit</b>(<i></i>) |
|
3156 |
|
3157 <p> |
|
3158 Public method to handle the debugged program terminating. |
|
3159 </p> |
|
3160 <a NAME="ViewManager.getAPIsManager" ID="ViewManager.getAPIsManager"></a> |
|
3161 <h4>ViewManager.getAPIsManager</h4> |
|
3162 <b>getAPIsManager</b>(<i></i>) |
|
3163 |
|
3164 <p> |
|
3165 Public method to get a reference to the APIs manager. |
|
3166 </p> |
|
3167 <dl> |
|
3168 <dt>Return:</dt> |
|
3169 <dd> |
|
3170 the APIs manager object (eric7.QScintilla.APIsManager) |
|
3171 </dd> |
|
3172 </dl> |
|
3173 <a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a> |
|
3174 <h4>ViewManager.getActions</h4> |
|
3175 <b>getActions</b>(<i>actionSetType</i>) |
|
3176 |
|
3177 <p> |
|
3178 Public method to get a list of all actions. |
|
3179 </p> |
|
3180 <dl> |
|
3181 |
|
3182 <dt><i>actionSetType</i></dt> |
|
3183 <dd> |
|
3184 string denoting the action set to get. |
|
3185 It must be one of "edit", "file", "search", "view", "window", |
|
3186 "macro", "bookmark" or "spelling". |
|
3187 </dd> |
|
3188 </dl> |
|
3189 <dl> |
|
3190 <dt>Return:</dt> |
|
3191 <dd> |
|
3192 list of all actions (list of EricAction) |
|
3193 </dd> |
|
3194 </dl> |
|
3195 <a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a> |
|
3196 <h4>ViewManager.getActiveName</h4> |
|
3197 <b>getActiveName</b>(<i></i>) |
|
3198 |
|
3199 <p> |
|
3200 Public method to retrieve the filename of the active window. |
|
3201 </p> |
|
3202 <dl> |
|
3203 <dt>Return:</dt> |
|
3204 <dd> |
|
3205 filename of active window (string) |
|
3206 </dd> |
|
3207 </dl> |
|
3208 <a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a> |
|
3209 <h4>ViewManager.getEditor</h4> |
|
3210 <b>getEditor</b>(<i>fn, filetype="", addNext=False, indexes=None</i>) |
|
3211 |
|
3212 <p> |
|
3213 Public method to return the editor displaying the given file. |
|
3214 </p> |
|
3215 <p> |
|
3216 If there is no editor with the given file, a new editor window is |
|
3217 created. |
|
3218 </p> |
|
3219 <dl> |
|
3220 |
|
3221 <dt><i>fn</i> (str)</dt> |
|
3222 <dd> |
|
3223 filename to look for |
|
3224 </dd> |
|
3225 <dt><i>filetype</i> (str)</dt> |
|
3226 <dd> |
|
3227 type of the source file |
|
3228 </dd> |
|
3229 <dt><i>addNext</i> (bool)</dt> |
|
3230 <dd> |
|
3231 flag indicating that if a new editor needs to be |
|
3232 created, it should be added next to the current editor |
|
3233 </dd> |
|
3234 <dt><i>indexes</i> (tuple of two int)</dt> |
|
3235 <dd> |
|
3236 of the editor, first the split view index, second the |
|
3237 index within the view |
|
3238 </dd> |
|
3239 </dl> |
|
3240 <dl> |
|
3241 <dt>Return:</dt> |
|
3242 <dd> |
|
3243 tuple of two values giving a flag indicating a new window |
|
3244 creation and a reference to the editor displaying this file |
|
3245 </dd> |
|
3246 </dl> |
|
3247 <dl> |
|
3248 <dt>Return Type:</dt> |
|
3249 <dd> |
|
3250 tuple of (bool, Editor) |
|
3251 </dd> |
|
3252 </dl> |
|
3253 <a NAME="ViewManager.getMostRecent" ID="ViewManager.getMostRecent"></a> |
|
3254 <h4>ViewManager.getMostRecent</h4> |
|
3255 <b>getMostRecent</b>(<i></i>) |
|
3256 |
|
3257 <p> |
|
3258 Public method to get the most recently opened file. |
|
3259 </p> |
|
3260 <dl> |
|
3261 <dt>Return:</dt> |
|
3262 <dd> |
|
3263 path of the most recently opened file (string) |
|
3264 </dd> |
|
3265 </dl> |
|
3266 <a NAME="ViewManager.getNumber" ID="ViewManager.getNumber"></a> |
|
3267 <h4>ViewManager.getNumber</h4> |
|
3268 <b>getNumber</b>(<i></i>) |
|
3269 |
|
3270 <p> |
|
3271 Public method to get a number from the active window. |
|
3272 </p> |
|
3273 <dl> |
|
3274 <dt>Return:</dt> |
|
3275 <dd> |
|
3276 selected text of the active window (string) |
|
3277 </dd> |
|
3278 </dl> |
|
3279 <a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a> |
|
3280 <h4>ViewManager.getOpenEditor</h4> |
|
3281 <b>getOpenEditor</b>(<i>fn</i>) |
|
3282 |
|
3283 <p> |
|
3284 Public method to return the editor displaying the given file. |
|
3285 </p> |
|
3286 <dl> |
|
3287 |
|
3288 <dt><i>fn</i></dt> |
|
3289 <dd> |
|
3290 filename to look for |
|
3291 </dd> |
|
3292 </dl> |
|
3293 <dl> |
|
3294 <dt>Return:</dt> |
|
3295 <dd> |
|
3296 a reference to the editor displaying this file or None, if |
|
3297 no editor was found |
|
3298 </dd> |
|
3299 </dl> |
|
3300 <a NAME="ViewManager.getOpenEditorCount" ID="ViewManager.getOpenEditorCount"></a> |
|
3301 <h4>ViewManager.getOpenEditorCount</h4> |
|
3302 <b>getOpenEditorCount</b>(<i>fn</i>) |
|
3303 |
|
3304 <p> |
|
3305 Public method to return the count of editors displaying the given file. |
|
3306 </p> |
|
3307 <dl> |
|
3308 |
|
3309 <dt><i>fn</i></dt> |
|
3310 <dd> |
|
3311 filename to look for |
|
3312 </dd> |
|
3313 </dl> |
|
3314 <dl> |
|
3315 <dt>Return:</dt> |
|
3316 <dd> |
|
3317 count of editors displaying this file (integer) |
|
3318 </dd> |
|
3319 </dl> |
|
3320 <a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a> |
|
3321 <h4>ViewManager.getOpenEditors</h4> |
|
3322 <b>getOpenEditors</b>(<i></i>) |
|
3323 |
|
3324 <p> |
|
3325 Public method to get references to all open editors. |
|
3326 </p> |
|
3327 <dl> |
|
3328 <dt>Return:</dt> |
|
3329 <dd> |
|
3330 list of references to all open editors (list of |
|
3331 QScintilla.editor) |
|
3332 </dd> |
|
3333 </dl> |
|
3334 <a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a> |
|
3335 <h4>ViewManager.getOpenEditorsCount</h4> |
|
3336 <b>getOpenEditorsCount</b>(<i></i>) |
|
3337 |
|
3338 <p> |
|
3339 Public method to get the number of open editors. |
|
3340 </p> |
|
3341 <dl> |
|
3342 <dt>Return:</dt> |
|
3343 <dd> |
|
3344 number of open editors (integer) |
|
3345 </dd> |
|
3346 </dl> |
|
3347 <a NAME="ViewManager.getOpenEditorsForSession" ID="ViewManager.getOpenEditorsForSession"></a> |
|
3348 <h4>ViewManager.getOpenEditorsForSession</h4> |
|
3349 <b>getOpenEditorsForSession</b>(<i></i>) |
|
3350 |
|
3351 <p> |
|
3352 Public method to get a lists of all open editors. |
|
3353 </p> |
|
3354 <p> |
|
3355 The returned list contains one list per split view. If the view manager |
|
3356 cannot split the view, only one list of editors is returned. |
|
3357 </p> |
|
3358 <p> |
|
3359 Note: This method should be implemented by subclasses. |
|
3360 </p> |
|
3361 <dl> |
|
3362 <dt>Return:</dt> |
|
3363 <dd> |
|
3364 list of list of editor references |
|
3365 </dd> |
|
3366 </dl> |
|
3367 <dl> |
|
3368 <dt>Return Type:</dt> |
|
3369 <dd> |
|
3370 list of list of Editor |
|
3371 </dd> |
|
3372 </dl> |
|
3373 <a NAME="ViewManager.getOpenFilenames" ID="ViewManager.getOpenFilenames"></a> |
|
3374 <h4>ViewManager.getOpenFilenames</h4> |
|
3375 <b>getOpenFilenames</b>(<i></i>) |
|
3376 |
|
3377 <p> |
|
3378 Public method returning a list of the filenames of all editors. |
|
3379 </p> |
|
3380 <dl> |
|
3381 <dt>Return:</dt> |
|
3382 <dd> |
|
3383 list of all opened filenames (list of strings) |
|
3384 </dd> |
|
3385 </dl> |
|
3386 <a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a> |
|
3387 <h4>ViewManager.getSRHistory</h4> |
|
3388 <b>getSRHistory</b>(<i>key</i>) |
|
3389 |
|
3390 <p> |
|
3391 Public method to get the search or replace history list. |
|
3392 </p> |
|
3393 <dl> |
|
3394 |
|
3395 <dt><i>key</i></dt> |
|
3396 <dd> |
|
3397 list to return (must be 'search' or 'replace') |
|
3398 </dd> |
|
3399 </dl> |
|
3400 <dl> |
|
3401 <dt>Return:</dt> |
|
3402 <dd> |
|
3403 the requested history list (list of strings) |
|
3404 </dd> |
|
3405 </dl> |
|
3406 <a NAME="ViewManager.getSplitOrientation" ID="ViewManager.getSplitOrientation"></a> |
|
3407 <h4>ViewManager.getSplitOrientation</h4> |
|
3408 <b>getSplitOrientation</b>(<i></i>) |
|
3409 |
|
3410 <p> |
|
3411 Public method to get the orientation of the split view. |
|
3412 </p> |
|
3413 <dl> |
|
3414 <dt>Return:</dt> |
|
3415 <dd> |
|
3416 orientation of the split (Qt.Orientation.Horizontal or |
|
3417 Qt.Orientation.Vertical) |
|
3418 </dd> |
|
3419 </dl> |
|
3420 <a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a> |
|
3421 <h4>ViewManager.handleResetUI</h4> |
|
3422 <b>handleResetUI</b>(<i></i>) |
|
3423 |
|
3424 <p> |
|
3425 Public slot to handle the resetUI signal. |
|
3426 </p> |
|
3427 <a NAME="ViewManager.hasDirtyEditor" ID="ViewManager.hasDirtyEditor"></a> |
|
3428 <h4>ViewManager.hasDirtyEditor</h4> |
|
3429 <b>hasDirtyEditor</b>(<i></i>) |
|
3430 |
|
3431 <p> |
|
3432 Public method to ask, if any of the open editors contains unsaved |
|
3433 changes. |
|
3434 </p> |
|
3435 <dl> |
|
3436 <dt>Return:</dt> |
|
3437 <dd> |
|
3438 flag indicating at least one editor has unsaved changes |
|
3439 </dd> |
|
3440 </dl> |
|
3441 <dl> |
|
3442 <dt>Return Type:</dt> |
|
3443 <dd> |
|
3444 bool |
|
3445 </dd> |
|
3446 </dl> |
|
3447 <a NAME="ViewManager.initActions" ID="ViewManager.initActions"></a> |
|
3448 <h4>ViewManager.initActions</h4> |
|
3449 <b>initActions</b>(<i></i>) |
|
3450 |
|
3451 <p> |
|
3452 Public method defining the user interface actions. |
|
3453 </p> |
|
3454 <a NAME="ViewManager.initBookmarkMenu" ID="ViewManager.initBookmarkMenu"></a> |
|
3455 <h4>ViewManager.initBookmarkMenu</h4> |
|
3456 <b>initBookmarkMenu</b>(<i></i>) |
|
3457 |
|
3458 <p> |
|
3459 Public method to create the Bookmark menu. |
|
3460 </p> |
|
3461 <dl> |
|
3462 <dt>Return:</dt> |
|
3463 <dd> |
|
3464 the generated menu |
|
3465 </dd> |
|
3466 </dl> |
|
3467 <a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a> |
|
3468 <h4>ViewManager.initBookmarkToolbar</h4> |
|
3469 <b>initBookmarkToolbar</b>(<i>toolbarManager</i>) |
|
3470 |
|
3471 <p> |
|
3472 Public method to create the Bookmark toolbar. |
|
3473 </p> |
|
3474 <dl> |
|
3475 |
|
3476 <dt><i>toolbarManager</i></dt> |
|
3477 <dd> |
|
3478 reference to a toolbar manager object |
|
3479 (EricToolBarManager) |
|
3480 </dd> |
|
3481 </dl> |
|
3482 <dl> |
|
3483 <dt>Return:</dt> |
|
3484 <dd> |
|
3485 the generated toolbar |
|
3486 </dd> |
|
3487 </dl> |
|
3488 <a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a> |
|
3489 <h4>ViewManager.initEditMenu</h4> |
|
3490 <b>initEditMenu</b>(<i></i>) |
|
3491 |
|
3492 <p> |
|
3493 Public method to create the Edit menu. |
|
3494 </p> |
|
3495 <dl> |
|
3496 <dt>Return:</dt> |
|
3497 <dd> |
|
3498 the generated menu |
|
3499 </dd> |
|
3500 </dl> |
|
3501 <a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a> |
|
3502 <h4>ViewManager.initEditToolbar</h4> |
|
3503 <b>initEditToolbar</b>(<i>toolbarManager</i>) |
|
3504 |
|
3505 <p> |
|
3506 Public method to create the Edit toolbar. |
|
3507 </p> |
|
3508 <dl> |
|
3509 |
|
3510 <dt><i>toolbarManager</i></dt> |
|
3511 <dd> |
|
3512 reference to a toolbar manager object |
|
3513 (EricToolBarManager) |
|
3514 </dd> |
|
3515 </dl> |
|
3516 <dl> |
|
3517 <dt>Return:</dt> |
|
3518 <dd> |
|
3519 the generated toolbar |
|
3520 </dd> |
|
3521 </dl> |
|
3522 <a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a> |
|
3523 <h4>ViewManager.initFileMenu</h4> |
|
3524 <b>initFileMenu</b>(<i></i>) |
|
3525 |
|
3526 <p> |
|
3527 Public method to create the File menu. |
|
3528 </p> |
|
3529 <dl> |
|
3530 <dt>Return:</dt> |
|
3531 <dd> |
|
3532 the generated menu |
|
3533 </dd> |
|
3534 </dl> |
|
3535 <a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a> |
|
3536 <h4>ViewManager.initFileToolbar</h4> |
|
3537 <b>initFileToolbar</b>(<i>toolbarManager</i>) |
|
3538 |
|
3539 <p> |
|
3540 Public method to create the File toolbar. |
|
3541 </p> |
|
3542 <dl> |
|
3543 |
|
3544 <dt><i>toolbarManager</i></dt> |
|
3545 <dd> |
|
3546 reference to a toolbar manager object |
|
3547 (EricToolBarManager) |
|
3548 </dd> |
|
3549 </dl> |
|
3550 <dl> |
|
3551 <dt>Return:</dt> |
|
3552 <dd> |
|
3553 the generated toolbar |
|
3554 </dd> |
|
3555 </dl> |
|
3556 <a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a> |
|
3557 <h4>ViewManager.initMacroMenu</h4> |
|
3558 <b>initMacroMenu</b>(<i></i>) |
|
3559 |
|
3560 <p> |
|
3561 Public method to create the Macro menu. |
|
3562 </p> |
|
3563 <dl> |
|
3564 <dt>Return:</dt> |
|
3565 <dd> |
|
3566 the generated menu |
|
3567 </dd> |
|
3568 </dl> |
|
3569 <a NAME="ViewManager.initSearchMenu" ID="ViewManager.initSearchMenu"></a> |
|
3570 <h4>ViewManager.initSearchMenu</h4> |
|
3571 <b>initSearchMenu</b>(<i></i>) |
|
3572 |
|
3573 <p> |
|
3574 Public method to create the Search menu. |
|
3575 </p> |
|
3576 <dl> |
|
3577 <dt>Return:</dt> |
|
3578 <dd> |
|
3579 the generated menu |
|
3580 </dd> |
|
3581 </dl> |
|
3582 <dl> |
|
3583 <dt>Return Type:</dt> |
|
3584 <dd> |
|
3585 QMenu |
|
3586 </dd> |
|
3587 </dl> |
|
3588 <a NAME="ViewManager.initSearchToolbar" ID="ViewManager.initSearchToolbar"></a> |
|
3589 <h4>ViewManager.initSearchToolbar</h4> |
|
3590 <b>initSearchToolbar</b>(<i>toolbarManager</i>) |
|
3591 |
|
3592 <p> |
|
3593 Public method to create the Search toolbar. |
|
3594 </p> |
|
3595 <dl> |
|
3596 |
|
3597 <dt><i>toolbarManager</i> (EricToolBarManager)</dt> |
|
3598 <dd> |
|
3599 reference to a toolbar manager object |
|
3600 </dd> |
|
3601 </dl> |
|
3602 <dl> |
|
3603 <dt>Return:</dt> |
|
3604 <dd> |
|
3605 generated toolbar |
|
3606 </dd> |
|
3607 </dl> |
|
3608 <dl> |
|
3609 <dt>Return Type:</dt> |
|
3610 <dd> |
|
3611 QToolBar |
|
3612 </dd> |
|
3613 </dl> |
|
3614 <a NAME="ViewManager.initSpellingToolbar" ID="ViewManager.initSpellingToolbar"></a> |
|
3615 <h4>ViewManager.initSpellingToolbar</h4> |
|
3616 <b>initSpellingToolbar</b>(<i>toolbarManager</i>) |
|
3617 |
|
3618 <p> |
|
3619 Public method to create the Spelling toolbar. |
|
3620 </p> |
|
3621 <dl> |
|
3622 |
|
3623 <dt><i>toolbarManager</i></dt> |
|
3624 <dd> |
|
3625 reference to a toolbar manager object |
|
3626 (EricToolBarManager) |
|
3627 </dd> |
|
3628 </dl> |
|
3629 <dl> |
|
3630 <dt>Return:</dt> |
|
3631 <dd> |
|
3632 the generated toolbar |
|
3633 </dd> |
|
3634 </dl> |
|
3635 <a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a> |
|
3636 <h4>ViewManager.initViewMenu</h4> |
|
3637 <b>initViewMenu</b>(<i></i>) |
|
3638 |
|
3639 <p> |
|
3640 Public method to create the View menu. |
|
3641 </p> |
|
3642 <dl> |
|
3643 <dt>Return:</dt> |
|
3644 <dd> |
|
3645 the generated menu |
|
3646 </dd> |
|
3647 </dl> |
|
3648 <a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a> |
|
3649 <h4>ViewManager.initViewToolbar</h4> |
|
3650 <b>initViewToolbar</b>(<i>toolbarManager</i>) |
|
3651 |
|
3652 <p> |
|
3653 Public method to create the View toolbar. |
|
3654 </p> |
|
3655 <dl> |
|
3656 |
|
3657 <dt><i>toolbarManager</i></dt> |
|
3658 <dd> |
|
3659 reference to a toolbar manager object |
|
3660 (EricToolBarManager) |
|
3661 </dd> |
|
3662 </dl> |
|
3663 <dl> |
|
3664 <dt>Return:</dt> |
|
3665 <dd> |
|
3666 the generated toolbar |
|
3667 </dd> |
|
3668 </dl> |
|
3669 <a NAME="ViewManager.insertNumber" ID="ViewManager.insertNumber"></a> |
|
3670 <h4>ViewManager.insertNumber</h4> |
|
3671 <b>insertNumber</b>(<i>txt</i>) |
|
3672 |
|
3673 <p> |
|
3674 Public slot to insert a number text into the active window. |
|
3675 </p> |
|
3676 <dl> |
|
3677 |
|
3678 <dt><i>txt</i></dt> |
|
3679 <dd> |
|
3680 text to be inserted (string) |
|
3681 </dd> |
|
3682 </dl> |
|
3683 <a NAME="ViewManager.insertSymbol" ID="ViewManager.insertSymbol"></a> |
|
3684 <h4>ViewManager.insertSymbol</h4> |
|
3685 <b>insertSymbol</b>(<i>txt</i>) |
|
3686 |
|
3687 <p> |
|
3688 Public slot to insert a symbol text into the active window. |
|
3689 </p> |
|
3690 <dl> |
|
3691 |
|
3692 <dt><i>txt</i></dt> |
|
3693 <dd> |
|
3694 text to be inserted (string) |
|
3695 </dd> |
|
3696 </dl> |
|
3697 <a NAME="ViewManager.isConnected" ID="ViewManager.isConnected"></a> |
|
3698 <h4>ViewManager.isConnected</h4> |
|
3699 <b>isConnected</b>(<i></i>) |
|
3700 |
|
3701 <p> |
|
3702 Public method to check the connection status of the IDE. |
|
3703 </p> |
|
3704 <dl> |
|
3705 <dt>Return:</dt> |
|
3706 <dd> |
|
3707 flag indicating the connection status (boolean) |
|
3708 </dd> |
|
3709 </dl> |
|
3710 <a NAME="ViewManager.isEditorInfoSupported" ID="ViewManager.isEditorInfoSupported"></a> |
|
3711 <h4>ViewManager.isEditorInfoSupported</h4> |
|
3712 <b>isEditorInfoSupported</b>(<i>language</i>) |
|
3713 |
|
3714 <p> |
|
3715 Public method to check, if a language is supported by the |
|
3716 documentation viewer. |
|
3717 </p> |
|
3718 <dl> |
|
3719 |
|
3720 <dt><i>language</i> (str)</dt> |
|
3721 <dd> |
|
3722 editor programming language to check |
|
3723 </dd> |
|
3724 </dl> |
|
3725 <dl> |
|
3726 <dt>Return:</dt> |
|
3727 <dd> |
|
3728 flag indicating the support status |
|
3729 </dd> |
|
3730 </dl> |
|
3731 <dl> |
|
3732 <dt>Return Type:</dt> |
|
3733 <dd> |
|
3734 bool |
|
3735 </dd> |
|
3736 </dl> |
|
3737 <a NAME="ViewManager.mainWidget" ID="ViewManager.mainWidget"></a> |
|
3738 <h4>ViewManager.mainWidget</h4> |
|
3739 <b>mainWidget</b>(<i></i>) |
|
3740 |
|
3741 <p> |
|
3742 Public method to return a reference to the main Widget of a |
|
3743 specific view manager subclass. |
|
3744 </p> |
|
3745 <dl> |
|
3746 |
|
3747 <dt>Raises <b>RuntimeError</b>:</dt> |
|
3748 <dd> |
|
3749 Not implemented |
|
3750 </dd> |
|
3751 </dl> |
|
3752 <a NAME="ViewManager.newEditor" ID="ViewManager.newEditor"></a> |
|
3753 <h4>ViewManager.newEditor</h4> |
|
3754 <b>newEditor</b>(<i></i>) |
|
3755 |
|
3756 <p> |
|
3757 Public slot to generate a new empty editor. |
|
3758 </p> |
|
3759 <a NAME="ViewManager.newEditorView" ID="ViewManager.newEditorView"></a> |
|
3760 <h4>ViewManager.newEditorView</h4> |
|
3761 <b>newEditorView</b>(<i>fn, caller, filetype="", indexes=None</i>) |
|
3762 |
|
3763 <p> |
|
3764 Public method to create a new editor displaying the given document. |
|
3765 </p> |
|
3766 <dl> |
|
3767 |
|
3768 <dt><i>fn</i> (str)</dt> |
|
3769 <dd> |
|
3770 filename of this view |
|
3771 </dd> |
|
3772 <dt><i>caller</i> (Editor)</dt> |
|
3773 <dd> |
|
3774 reference to the editor calling this method |
|
3775 </dd> |
|
3776 <dt><i>filetype</i> (str)</dt> |
|
3777 <dd> |
|
3778 type of the source file |
|
3779 </dd> |
|
3780 <dt><i>indexes</i> (tuple of two int)</dt> |
|
3781 <dd> |
|
3782 of the editor, first the split view index, second the |
|
3783 index within the view |
|
3784 </dd> |
|
3785 </dl> |
|
3786 <dl> |
|
3787 <dt>Return:</dt> |
|
3788 <dd> |
|
3789 reference to the new editor object |
|
3790 </dd> |
|
3791 </dl> |
|
3792 <dl> |
|
3793 <dt>Return Type:</dt> |
|
3794 <dd> |
|
3795 Editor |
|
3796 </dd> |
|
3797 </dl> |
|
3798 <a NAME="ViewManager.nextSplit" ID="ViewManager.nextSplit"></a> |
|
3799 <h4>ViewManager.nextSplit</h4> |
|
3800 <b>nextSplit</b>(<i></i>) |
|
3801 |
|
3802 <p> |
|
3803 Public slot used to move to the next split. |
|
3804 </p> |
|
3805 <a NAME="ViewManager.openFiles" ID="ViewManager.openFiles"></a> |
|
3806 <h4>ViewManager.openFiles</h4> |
|
3807 <b>openFiles</b>(<i>prog</i>) |
|
3808 |
|
3809 <p> |
|
3810 Public slot to open some files. |
|
3811 </p> |
|
3812 <dl> |
|
3813 |
|
3814 <dt><i>prog</i></dt> |
|
3815 <dd> |
|
3816 name of file to be opened (string) |
|
3817 </dd> |
|
3818 </dl> |
|
3819 <a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a> |
|
3820 <h4>ViewManager.openSourceFile</h4> |
|
3821 <b>openSourceFile</b>(<i>fn, lineno=-1, filetype="", selStart=0, selEnd=0, pos=0, addNext=False, indexes=None</i>) |
|
3822 |
|
3823 <p> |
|
3824 Public slot to display a file in an editor. |
|
3825 </p> |
|
3826 <dl> |
|
3827 |
|
3828 <dt><i>fn</i> (str)</dt> |
|
3829 <dd> |
|
3830 name of file to be opened |
|
3831 </dd> |
|
3832 <dt><i>lineno</i> (int or list of int)</dt> |
|
3833 <dd> |
|
3834 line number to place the cursor at or list of line |
|
3835 numbers (cursor will be placed at the next line greater than |
|
3836 the current one) |
|
3837 </dd> |
|
3838 <dt><i>filetype</i> (str)</dt> |
|
3839 <dd> |
|
3840 type of the source file |
|
3841 </dd> |
|
3842 <dt><i>selStart</i> (int)</dt> |
|
3843 <dd> |
|
3844 start of an area to be selected |
|
3845 </dd> |
|
3846 <dt><i>selEnd</i> (int)</dt> |
|
3847 <dd> |
|
3848 end of an area to be selected |
|
3849 </dd> |
|
3850 <dt><i>pos</i> (int)</dt> |
|
3851 <dd> |
|
3852 position within the line to place the cursor at |
|
3853 </dd> |
|
3854 <dt><i>addNext</i> (bool)</dt> |
|
3855 <dd> |
|
3856 flag indicating to add the file next to the current |
|
3857 editor |
|
3858 </dd> |
|
3859 <dt><i>indexes</i> (tuple of two int)</dt> |
|
3860 <dd> |
|
3861 of the editor, first the split view index, second the |
|
3862 index within the view |
|
3863 </dd> |
|
3864 </dl> |
|
3865 <dl> |
|
3866 <dt>Return:</dt> |
|
3867 <dd> |
|
3868 reference to the opened editor |
|
3869 </dd> |
|
3870 </dl> |
|
3871 <dl> |
|
3872 <dt>Return Type:</dt> |
|
3873 <dd> |
|
3874 Editor |
|
3875 </dd> |
|
3876 </dl> |
|
3877 <a NAME="ViewManager.preferencesChanged" ID="ViewManager.preferencesChanged"></a> |
|
3878 <h4>ViewManager.preferencesChanged</h4> |
|
3879 <b>preferencesChanged</b>(<i></i>) |
|
3880 |
|
3881 <p> |
|
3882 Public slot to handle the preferencesChanged signal. |
|
3883 </p> |
|
3884 <p> |
|
3885 This method performs the following actions |
|
3886 <ul> |
|
3887 <li>reread the colours for the syntax highlighting</li> |
|
3888 <li>reloads the already created API objetcs</li> |
|
3889 <li>starts or stops the autosave timer</li> |
|
3890 <li><b>Note</b>: changes in viewmanager type are activated |
|
3891 on an application restart.</li> |
|
3892 </ul> |
|
3893 </p> |
|
3894 <a NAME="ViewManager.prevSplit" ID="ViewManager.prevSplit"></a> |
|
3895 <h4>ViewManager.prevSplit</h4> |
|
3896 <b>prevSplit</b>(<i></i>) |
|
3897 |
|
3898 <p> |
|
3899 Public slot used to move to the previous split. |
|
3900 </p> |
|
3901 <a NAME="ViewManager.printCurrentEditor" ID="ViewManager.printCurrentEditor"></a> |
|
3902 <h4>ViewManager.printCurrentEditor</h4> |
|
3903 <b>printCurrentEditor</b>(<i></i>) |
|
3904 |
|
3905 <p> |
|
3906 Public slot to print the contents of the current editor. |
|
3907 </p> |
|
3908 <a NAME="ViewManager.printEditor" ID="ViewManager.printEditor"></a> |
|
3909 <h4>ViewManager.printEditor</h4> |
|
3910 <b>printEditor</b>(<i>editor</i>) |
|
3911 |
|
3912 <p> |
|
3913 Public slot to print an editor. |
|
3914 </p> |
|
3915 <dl> |
|
3916 |
|
3917 <dt><i>editor</i> (Editor)</dt> |
|
3918 <dd> |
|
3919 editor to be printed |
|
3920 </dd> |
|
3921 </dl> |
|
3922 <a NAME="ViewManager.printPreviewCurrentEditor" ID="ViewManager.printPreviewCurrentEditor"></a> |
|
3923 <h4>ViewManager.printPreviewCurrentEditor</h4> |
|
3924 <b>printPreviewCurrentEditor</b>(<i></i>) |
|
3925 |
|
3926 <p> |
|
3927 Public slot to show a print preview of the current editor. |
|
3928 </p> |
|
3929 <a NAME="ViewManager.printPreviewEditor" ID="ViewManager.printPreviewEditor"></a> |
|
3930 <h4>ViewManager.printPreviewEditor</h4> |
|
3931 <b>printPreviewEditor</b>(<i>editor</i>) |
|
3932 |
|
3933 <p> |
|
3934 Public slot to show a print preview of an editor. |
|
3935 </p> |
|
3936 <dl> |
|
3937 |
|
3938 <dt><i>editor</i> (Editor)</dt> |
|
3939 <dd> |
|
3940 editor to be printed |
|
3941 </dd> |
|
3942 </dl> |
|
3943 <a NAME="ViewManager.projectClosed" ID="ViewManager.projectClosed"></a> |
|
3944 <h4>ViewManager.projectClosed</h4> |
|
3945 <b>projectClosed</b>(<i></i>) |
|
3946 |
|
3947 <p> |
|
3948 Public slot to handle the projectClosed signal. |
|
3949 </p> |
|
3950 <a NAME="ViewManager.projectFileRenamed" ID="ViewManager.projectFileRenamed"></a> |
|
3951 <h4>ViewManager.projectFileRenamed</h4> |
|
3952 <b>projectFileRenamed</b>(<i>oldfn, newfn</i>) |
|
3953 |
|
3954 <p> |
|
3955 Public slot to handle the projectFileRenamed signal. |
|
3956 </p> |
|
3957 <dl> |
|
3958 |
|
3959 <dt><i>oldfn</i></dt> |
|
3960 <dd> |
|
3961 old filename of the file (string) |
|
3962 </dd> |
|
3963 <dt><i>newfn</i></dt> |
|
3964 <dd> |
|
3965 new filename of the file (string) |
|
3966 </dd> |
|
3967 </dl> |
|
3968 <a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a> |
|
3969 <h4>ViewManager.projectLexerAssociationsChanged</h4> |
|
3970 <b>projectLexerAssociationsChanged</b>(<i></i>) |
|
3971 |
|
3972 <p> |
|
3973 Public slot to handle changes of the project lexer associations. |
|
3974 </p> |
|
3975 <a NAME="ViewManager.projectOpened" ID="ViewManager.projectOpened"></a> |
|
3976 <h4>ViewManager.projectOpened</h4> |
|
3977 <b>projectOpened</b>(<i></i>) |
|
3978 |
|
3979 <p> |
|
3980 Public slot to handle the projectOpened signal. |
|
3981 </p> |
|
3982 <a NAME="ViewManager.receive" ID="ViewManager.receive"></a> |
|
3983 <h4>ViewManager.receive</h4> |
|
3984 <b>receive</b>(<i>projectHash, fileName, command</i>) |
|
3985 |
|
3986 <p> |
|
3987 Public slot to handle received editor commands. |
|
3988 </p> |
|
3989 <dl> |
|
3990 |
|
3991 <dt><i>projectHash</i></dt> |
|
3992 <dd> |
|
3993 hash of the project (string) |
|
3994 </dd> |
|
3995 <dt><i>fileName</i></dt> |
|
3996 <dd> |
|
3997 project relative file name of the editor (string) |
|
3998 </dd> |
|
3999 <dt><i>command</i></dt> |
|
4000 <dd> |
|
4001 command string (string) |
|
4002 </dd> |
|
4003 </dl> |
|
4004 <a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a> |
|
4005 <h4>ViewManager.removeSplit</h4> |
|
4006 <b>removeSplit</b>(<i>index=-1</i>) |
|
4007 |
|
4008 <p> |
|
4009 Public method used to remove the current split view or a split view |
|
4010 by index. |
|
4011 </p> |
|
4012 <dl> |
|
4013 |
|
4014 <dt><i>index</i> (int)</dt> |
|
4015 <dd> |
|
4016 index of the split to be removed (-1 means to |
|
4017 delete the current split) |
|
4018 </dd> |
|
4019 </dl> |
|
4020 <dl> |
|
4021 <dt>Return:</dt> |
|
4022 <dd> |
|
4023 flag indicating successful deletion |
|
4024 </dd> |
|
4025 </dl> |
|
4026 <dl> |
|
4027 <dt>Return Type:</dt> |
|
4028 <dd> |
|
4029 bool |
|
4030 </dd> |
|
4031 </dl> |
|
4032 <a NAME="ViewManager.replaceWidget" ID="ViewManager.replaceWidget"></a> |
|
4033 <h4>ViewManager.replaceWidget</h4> |
|
4034 <b>replaceWidget</b>(<i></i>) |
|
4035 |
|
4036 <p> |
|
4037 Public method to get a reference to the replace widget. |
|
4038 </p> |
|
4039 <dl> |
|
4040 <dt>Return:</dt> |
|
4041 <dd> |
|
4042 reference to the replace widget (SearchReplaceSlidingWidget) |
|
4043 </dd> |
|
4044 </dl> |
|
4045 <a NAME="ViewManager.saveAllEditors" ID="ViewManager.saveAllEditors"></a> |
|
4046 <h4>ViewManager.saveAllEditors</h4> |
|
4047 <b>saveAllEditors</b>(<i></i>) |
|
4048 |
|
4049 <p> |
|
4050 Public slot to save the contents of all editors. |
|
4051 </p> |
|
4052 <a NAME="ViewManager.saveAsCurrentEditor" ID="ViewManager.saveAsCurrentEditor"></a> |
|
4053 <h4>ViewManager.saveAsCurrentEditor</h4> |
|
4054 <b>saveAsCurrentEditor</b>(<i></i>) |
|
4055 |
|
4056 <p> |
|
4057 Public slot to save the contents of the current editor to a new file. |
|
4058 </p> |
|
4059 <a NAME="ViewManager.saveAsEditorEd" ID="ViewManager.saveAsEditorEd"></a> |
|
4060 <h4>ViewManager.saveAsEditorEd</h4> |
|
4061 <b>saveAsEditorEd</b>(<i>ed</i>) |
|
4062 |
|
4063 <p> |
|
4064 Public slot to save the contents of an editor to a new file. |
|
4065 </p> |
|
4066 <dl> |
|
4067 |
|
4068 <dt><i>ed</i></dt> |
|
4069 <dd> |
|
4070 editor to be saved |
|
4071 </dd> |
|
4072 </dl> |
|
4073 <a NAME="ViewManager.saveCopyCurrentEditor" ID="ViewManager.saveCopyCurrentEditor"></a> |
|
4074 <h4>ViewManager.saveCopyCurrentEditor</h4> |
|
4075 <b>saveCopyCurrentEditor</b>(<i></i>) |
|
4076 |
|
4077 <p> |
|
4078 Public slot to save the contents of the current editor to a new copy |
|
4079 of the file. |
|
4080 </p> |
|
4081 <a NAME="ViewManager.saveCopyEditorEd" ID="ViewManager.saveCopyEditorEd"></a> |
|
4082 <h4>ViewManager.saveCopyEditorEd</h4> |
|
4083 <b>saveCopyEditorEd</b>(<i>ed</i>) |
|
4084 |
|
4085 <p> |
|
4086 Public slot to save the contents of an editor to a new copy of |
|
4087 the file. |
|
4088 </p> |
|
4089 <dl> |
|
4090 |
|
4091 <dt><i>ed</i></dt> |
|
4092 <dd> |
|
4093 editor to be saved |
|
4094 </dd> |
|
4095 </dl> |
|
4096 <a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a> |
|
4097 <h4>ViewManager.saveCurrentEditor</h4> |
|
4098 <b>saveCurrentEditor</b>(<i></i>) |
|
4099 |
|
4100 <p> |
|
4101 Public slot to save the contents of the current editor. |
|
4102 </p> |
|
4103 <a NAME="ViewManager.saveEditor" ID="ViewManager.saveEditor"></a> |
|
4104 <h4>ViewManager.saveEditor</h4> |
|
4105 <b>saveEditor</b>(<i>fn</i>) |
|
4106 |
|
4107 <p> |
|
4108 Public method to save a named editor file. |
|
4109 </p> |
|
4110 <dl> |
|
4111 |
|
4112 <dt><i>fn</i></dt> |
|
4113 <dd> |
|
4114 filename of editor to be saved (string) |
|
4115 </dd> |
|
4116 </dl> |
|
4117 <dl> |
|
4118 <dt>Return:</dt> |
|
4119 <dd> |
|
4120 flag indicating success (boolean) |
|
4121 </dd> |
|
4122 </dl> |
|
4123 <a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a> |
|
4124 <h4>ViewManager.saveEditorEd</h4> |
|
4125 <b>saveEditorEd</b>(<i>ed</i>) |
|
4126 |
|
4127 <p> |
|
4128 Public slot to save the contents of an editor. |
|
4129 </p> |
|
4130 <dl> |
|
4131 |
|
4132 <dt><i>ed</i></dt> |
|
4133 <dd> |
|
4134 editor to be saved |
|
4135 </dd> |
|
4136 </dl> |
|
4137 <dl> |
|
4138 <dt>Return:</dt> |
|
4139 <dd> |
|
4140 flag indicating success (boolean) |
|
4141 </dd> |
|
4142 </dl> |
|
4143 <a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a> |
|
4144 <h4>ViewManager.saveEditorsList</h4> |
|
4145 <b>saveEditorsList</b>(<i>editors</i>) |
|
4146 |
|
4147 <p> |
|
4148 Public slot to save a list of editors. |
|
4149 </p> |
|
4150 <dl> |
|
4151 |
|
4152 <dt><i>editors</i></dt> |
|
4153 <dd> |
|
4154 list of editors to be saved |
|
4155 </dd> |
|
4156 </dl> |
|
4157 <a NAME="ViewManager.searchWidget" ID="ViewManager.searchWidget"></a> |
|
4158 <h4>ViewManager.searchWidget</h4> |
|
4159 <b>searchWidget</b>(<i></i>) |
|
4160 |
|
4161 <p> |
|
4162 Public method to get a reference to the search widget. |
|
4163 </p> |
|
4164 <dl> |
|
4165 <dt>Return:</dt> |
|
4166 <dd> |
|
4167 reference to the search widget (SearchReplaceSlidingWidget) |
|
4168 </dd> |
|
4169 </dl> |
|
4170 <a NAME="ViewManager.send" ID="ViewManager.send"></a> |
|
4171 <h4>ViewManager.send</h4> |
|
4172 <b>send</b>(<i>fileName, message</i>) |
|
4173 |
|
4174 <p> |
|
4175 Public method to send an editor command to remote editors. |
|
4176 </p> |
|
4177 <dl> |
|
4178 |
|
4179 <dt><i>fileName</i></dt> |
|
4180 <dd> |
|
4181 file name of the editor (string) |
|
4182 </dd> |
|
4183 <dt><i>message</i></dt> |
|
4184 <dd> |
|
4185 command message to be sent (string) |
|
4186 </dd> |
|
4187 </dl> |
|
4188 <a NAME="ViewManager.sendSharedEdit" ID="ViewManager.sendSharedEdit"></a> |
|
4189 <h4>ViewManager.sendSharedEdit</h4> |
|
4190 <b>sendSharedEdit</b>(<i></i>) |
|
4191 |
|
4192 <p> |
|
4193 Public slot to end a shared edit session for the current editor and |
|
4194 send the changes. |
|
4195 </p> |
|
4196 <a NAME="ViewManager.setCooperationClient" ID="ViewManager.setCooperationClient"></a> |
|
4197 <h4>ViewManager.setCooperationClient</h4> |
|
4198 <b>setCooperationClient</b>(<i>client</i>) |
|
4199 |
|
4200 <p> |
|
4201 Public method to set a reference to the cooperation client. |
|
4202 </p> |
|
4203 <dl> |
|
4204 |
|
4205 <dt><i>client</i></dt> |
|
4206 <dd> |
|
4207 reference to the cooperation client (CooperationClient) |
|
4208 </dd> |
|
4209 </dl> |
|
4210 <a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a> |
|
4211 <h4>ViewManager.setEditorName</h4> |
|
4212 <b>setEditorName</b>(<i>editor, newName</i>) |
|
4213 |
|
4214 <p> |
|
4215 Public method to change the displayed name of the editor. |
|
4216 </p> |
|
4217 <dl> |
|
4218 |
|
4219 <dt><i>editor</i></dt> |
|
4220 <dd> |
|
4221 editor window to be changed |
|
4222 </dd> |
|
4223 <dt><i>newName</i></dt> |
|
4224 <dd> |
|
4225 new name to be shown (string) |
|
4226 </dd> |
|
4227 </dl> |
|
4228 <dl> |
|
4229 |
|
4230 <dt>Raises <b>RuntimeError</b>:</dt> |
|
4231 <dd> |
|
4232 Not implemented |
|
4233 </dd> |
|
4234 </dl> |
|
4235 <a NAME="ViewManager.setFileLine" ID="ViewManager.setFileLine"></a> |
|
4236 <h4>ViewManager.setFileLine</h4> |
|
4237 <b>setFileLine</b>(<i>fn, line, error=False, syntaxError=False</i>) |
|
4238 |
|
4239 <p> |
|
4240 Public method to update the user interface when the current program |
|
4241 or line changes. |
|
4242 </p> |
|
4243 <dl> |
|
4244 |
|
4245 <dt><i>fn</i></dt> |
|
4246 <dd> |
|
4247 filename of editor to update (string) |
|
4248 </dd> |
|
4249 <dt><i>line</i></dt> |
|
4250 <dd> |
|
4251 line number to highlight (int) |
|
4252 </dd> |
|
4253 <dt><i>error</i></dt> |
|
4254 <dd> |
|
4255 flag indicating an error highlight (boolean) |
|
4256 </dd> |
|
4257 <dt><i>syntaxError</i></dt> |
|
4258 <dd> |
|
4259 flag indicating a syntax error |
|
4260 </dd> |
|
4261 </dl> |
|
4262 <a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a> |
|
4263 <h4>ViewManager.setReferences</h4> |
|
4264 <b>setReferences</b>(<i>ui, dbs</i>) |
|
4265 |
|
4266 <p> |
|
4267 Public method to set some references needed later on. |
|
4268 </p> |
|
4269 <dl> |
|
4270 |
|
4271 <dt><i>ui</i></dt> |
|
4272 <dd> |
|
4273 reference to the main user interface |
|
4274 </dd> |
|
4275 <dt><i>dbs</i></dt> |
|
4276 <dd> |
|
4277 reference to the debug server object |
|
4278 </dd> |
|
4279 </dl> |
|
4280 <a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a> |
|
4281 <h4>ViewManager.setSbInfo</h4> |
|
4282 <b>setSbInfo</b>(<i>sbLine, sbPos, sbWritable, sbEncoding, sbLanguage, sbEol, sbZoom</i>) |
|
4283 |
|
4284 <p> |
|
4285 Public method to transfer statusbar info from the user interface to |
|
4286 viewmanager. |
|
4287 </p> |
|
4288 <dl> |
|
4289 |
|
4290 <dt><i>sbLine</i></dt> |
|
4291 <dd> |
|
4292 reference to the line number part of the statusbar |
|
4293 (QLabel) |
|
4294 </dd> |
|
4295 <dt><i>sbPos</i></dt> |
|
4296 <dd> |
|
4297 reference to the character position part of the statusbar |
|
4298 (QLabel) |
|
4299 </dd> |
|
4300 <dt><i>sbWritable</i></dt> |
|
4301 <dd> |
|
4302 reference to the writability indicator part of |
|
4303 the statusbar (QLabel) |
|
4304 </dd> |
|
4305 <dt><i>sbEncoding</i></dt> |
|
4306 <dd> |
|
4307 reference to the encoding indicator part of the |
|
4308 statusbar (QLabel) |
|
4309 </dd> |
|
4310 <dt><i>sbLanguage</i></dt> |
|
4311 <dd> |
|
4312 reference to the language indicator part of the |
|
4313 statusbar (QLabel) |
|
4314 </dd> |
|
4315 <dt><i>sbEol</i></dt> |
|
4316 <dd> |
|
4317 reference to the eol indicator part of the statusbar |
|
4318 (QLabel) |
|
4319 </dd> |
|
4320 <dt><i>sbZoom</i></dt> |
|
4321 <dd> |
|
4322 reference to the zoom widget (EricZoomWidget) |
|
4323 </dd> |
|
4324 </dl> |
|
4325 <a NAME="ViewManager.setSplitCount" ID="ViewManager.setSplitCount"></a> |
|
4326 <h4>ViewManager.setSplitCount</h4> |
|
4327 <b>setSplitCount</b>(<i>count</i>) |
|
4328 |
|
4329 <p> |
|
4330 Public method to set the number of split views. |
|
4331 </p> |
|
4332 <dl> |
|
4333 |
|
4334 <dt><i>count</i> (int)</dt> |
|
4335 <dd> |
|
4336 number of split views |
|
4337 </dd> |
|
4338 </dl> |
|
4339 <a NAME="ViewManager.setSplitOrientation" ID="ViewManager.setSplitOrientation"></a> |
|
4340 <h4>ViewManager.setSplitOrientation</h4> |
|
4341 <b>setSplitOrientation</b>(<i>orientation</i>) |
|
4342 |
|
4343 <p> |
|
4344 Public method used to set the orientation of the split view. |
|
4345 </p> |
|
4346 <dl> |
|
4347 |
|
4348 <dt><i>orientation</i></dt> |
|
4349 <dd> |
|
4350 orientation of the split |
|
4351 (Qt.Orientation.Horizontal or Qt.Orientation.Vertical) |
|
4352 </dd> |
|
4353 </dl> |
|
4354 <a NAME="ViewManager.shareConnected" ID="ViewManager.shareConnected"></a> |
|
4355 <h4>ViewManager.shareConnected</h4> |
|
4356 <b>shareConnected</b>(<i>connected</i>) |
|
4357 |
|
4358 <p> |
|
4359 Public slot to handle a change of the connected state. |
|
4360 </p> |
|
4361 <dl> |
|
4362 |
|
4363 <dt><i>connected</i></dt> |
|
4364 <dd> |
|
4365 flag indicating the connected state (boolean) |
|
4366 </dd> |
|
4367 </dl> |
|
4368 <a NAME="ViewManager.shareEditor" ID="ViewManager.shareEditor"></a> |
|
4369 <h4>ViewManager.shareEditor</h4> |
|
4370 <b>shareEditor</b>(<i>share</i>) |
|
4371 |
|
4372 <p> |
|
4373 Public slot to set the shared status of the current editor. |
|
4374 </p> |
|
4375 <dl> |
|
4376 |
|
4377 <dt><i>share</i></dt> |
|
4378 <dd> |
|
4379 flag indicating the share status (boolean) |
|
4380 </dd> |
|
4381 </dl> |
|
4382 <a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a> |
|
4383 <h4>ViewManager.showDebugSource</h4> |
|
4384 <b>showDebugSource</b>(<i>fn, line</i>) |
|
4385 |
|
4386 <p> |
|
4387 Public method to open the given file and highlight the given line in |
|
4388 it. |
|
4389 </p> |
|
4390 <dl> |
|
4391 |
|
4392 <dt><i>fn</i></dt> |
|
4393 <dd> |
|
4394 filename of editor to update (string) |
|
4395 </dd> |
|
4396 <dt><i>line</i></dt> |
|
4397 <dd> |
|
4398 line number to highlight (int) |
|
4399 </dd> |
|
4400 </dl> |
|
4401 <a NAME="ViewManager.showEditorInfo" ID="ViewManager.showEditorInfo"></a> |
|
4402 <h4>ViewManager.showEditorInfo</h4> |
|
4403 <b>showEditorInfo</b>(<i>editor</i>) |
|
4404 |
|
4405 <p> |
|
4406 Public method to show some information for a given editor. |
|
4407 </p> |
|
4408 <dl> |
|
4409 |
|
4410 <dt><i>editor</i> (Editor)</dt> |
|
4411 <dd> |
|
4412 editor to show information text for |
|
4413 </dd> |
|
4414 </dl> |
|
4415 <a NAME="ViewManager.showReplaceWidget" ID="ViewManager.showReplaceWidget"></a> |
|
4416 <h4>ViewManager.showReplaceWidget</h4> |
|
4417 <b>showReplaceWidget</b>(<i></i>) |
|
4418 |
|
4419 <p> |
|
4420 Public method to show the replace widget. |
|
4421 </p> |
|
4422 <a NAME="ViewManager.showSearchWidget" ID="ViewManager.showSearchWidget"></a> |
|
4423 <h4>ViewManager.showSearchWidget</h4> |
|
4424 <b>showSearchWidget</b>(<i></i>) |
|
4425 |
|
4426 <p> |
|
4427 Public method to show the search widget. |
|
4428 </p> |
|
4429 <a NAME="ViewManager.showWindowMenu" ID="ViewManager.showWindowMenu"></a> |
|
4430 <h4>ViewManager.showWindowMenu</h4> |
|
4431 <b>showWindowMenu</b>(<i>windowMenu</i>) |
|
4432 |
|
4433 <p> |
|
4434 Public method to set up the viewmanager part of the Window menu. |
|
4435 </p> |
|
4436 <dl> |
|
4437 |
|
4438 <dt><i>windowMenu</i></dt> |
|
4439 <dd> |
|
4440 reference to the window menu |
|
4441 </dd> |
|
4442 </dl> |
|
4443 <dl> |
|
4444 |
|
4445 <dt>Raises <b>RuntimeError</b>:</dt> |
|
4446 <dd> |
|
4447 Not implemented |
|
4448 </dd> |
|
4449 </dl> |
|
4450 <a NAME="ViewManager.splitCount" ID="ViewManager.splitCount"></a> |
|
4451 <h4>ViewManager.splitCount</h4> |
|
4452 <b>splitCount</b>(<i></i>) |
|
4453 |
|
4454 <p> |
|
4455 Public method to get the number of split views. |
|
4456 </p> |
|
4457 <dl> |
|
4458 <dt>Return:</dt> |
|
4459 <dd> |
|
4460 number of split views |
|
4461 </dd> |
|
4462 </dl> |
|
4463 <dl> |
|
4464 <dt>Return Type:</dt> |
|
4465 <dd> |
|
4466 int |
|
4467 </dd> |
|
4468 </dl> |
|
4469 <a NAME="ViewManager.startSharedEdit" ID="ViewManager.startSharedEdit"></a> |
|
4470 <h4>ViewManager.startSharedEdit</h4> |
|
4471 <b>startSharedEdit</b>(<i></i>) |
|
4472 |
|
4473 <p> |
|
4474 Public slot to start a shared edit session for the current editor. |
|
4475 </p> |
|
4476 <a NAME="ViewManager.textForFind" ID="ViewManager.textForFind"></a> |
|
4477 <h4>ViewManager.textForFind</h4> |
|
4478 <b>textForFind</b>(<i>getCurrentWord=True</i>) |
|
4479 |
|
4480 <p> |
|
4481 Public method to determine the selection or the current word for the |
|
4482 next find operation. |
|
4483 </p> |
|
4484 <dl> |
|
4485 |
|
4486 <dt><i>getCurrentWord</i></dt> |
|
4487 <dd> |
|
4488 flag indicating to return the current word, if |
|
4489 no selected text was found (boolean) |
|
4490 </dd> |
|
4491 </dl> |
|
4492 <dl> |
|
4493 <dt>Return:</dt> |
|
4494 <dd> |
|
4495 selection or current word (string) |
|
4496 </dd> |
|
4497 </dl> |
|
4498 <a NAME="ViewManager.tile" ID="ViewManager.tile"></a> |
|
4499 <h4>ViewManager.tile</h4> |
|
4500 <b>tile</b>(<i></i>) |
|
4501 |
|
4502 <p> |
|
4503 Public method to tile the managed windows. |
|
4504 </p> |
|
4505 <dl> |
|
4506 |
|
4507 <dt>Raises <b>RuntimeError</b>:</dt> |
|
4508 <dd> |
|
4509 Not implemented |
|
4510 </dd> |
|
4511 </dl> |
|
4512 <a NAME="ViewManager.unhighlight" ID="ViewManager.unhighlight"></a> |
|
4513 <h4>ViewManager.unhighlight</h4> |
|
4514 <b>unhighlight</b>(<i>current=False</i>) |
|
4515 |
|
4516 <p> |
|
4517 Public method to switch off all highlights or the highlight of |
|
4518 the current editor. |
|
4519 </p> |
|
4520 <dl> |
|
4521 |
|
4522 <dt><i>current</i></dt> |
|
4523 <dd> |
|
4524 flag indicating only the current editor should be |
|
4525 unhighlighted (boolean) |
|
4526 </dd> |
|
4527 </dl> |
|
4528 <a NAME="ViewManager.zoomValueChanged" ID="ViewManager.zoomValueChanged"></a> |
|
4529 <h4>ViewManager.zoomValueChanged</h4> |
|
4530 <b>zoomValueChanged</b>(<i>value, zoomingWidget</i>) |
|
4531 |
|
4532 <p> |
|
4533 Public slot to handle changes of the zoom value. |
|
4534 </p> |
|
4535 <dl> |
|
4536 |
|
4537 <dt><i>value</i> (int)</dt> |
|
4538 <dd> |
|
4539 new zoom value |
|
4540 </dd> |
|
4541 <dt><i>zoomingWidget</i> (Editor or Shell)</dt> |
|
4542 <dd> |
|
4543 reference to the widget triggering the slot |
|
4544 </dd> |
|
4545 </dl> |
|
4546 <div align="right"><a href="#top">Up</a></div> |
|
4547 <hr /> |
|
4548 </body></html> |