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