eric6/Documentation/Source/eric6.ViewManager.ViewManager.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7009
eaf5ed6ef298
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.ViewManager.ViewManager</h1>
23 <p>
24 Module implementing the viewmanager base class.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#QuickSearchLineEdit">QuickSearchLineEdit</a></td>
34 <td>Class implementing a line edit that reacts to newline and cancel commands.</td>
35 </tr><tr>
36 <td><a href="#ViewManager">ViewManager</a></td>
37 <td>Base class inherited by all specific viewmanager classes.</td>
38 </tr>
39 </table>
40 <h3>Functions</h3>
41 <table>
42 <tr><td>None</td></tr>
43 </table>
44 <hr /><hr />
45 <a NAME="QuickSearchLineEdit" ID="QuickSearchLineEdit"></a>
46 <h2>QuickSearchLineEdit</h2>
47 <p>
48 Class implementing a line edit that reacts to newline and cancel commands.
49 </p><h3>Signals</h3>
50 <dl>
51 <dt>escPressed()</dt>
52 <dd>
53 emitted after the cancel command was activated
54 </dd><dt>gotFocus()</dt>
55 <dd>
56 emitted when the focus is changed to this widget
57 </dd>
58 </dl>
59 <h3>Derived from</h3>
60 QLineEdit
61 <h3>Class Attributes</h3>
62 <table>
63 <tr><td>None</td></tr>
64 </table>
65 <h3>Class Methods</h3>
66 <table>
67 <tr><td>None</td></tr>
68 </table>
69 <h3>Methods</h3>
70 <table>
71 <tr>
72 <td><a href="#QuickSearchLineEdit.editorCommand">editorCommand</a></td>
73 <td>Public method to perform an editor command.</td>
74 </tr><tr>
75 <td><a href="#QuickSearchLineEdit.focusInEvent">focusInEvent</a></td>
76 <td>Protected method to record the current editor widget.</td>
77 </tr><tr>
78 <td><a href="#QuickSearchLineEdit.keyPressEvent">keyPressEvent</a></td>
79 <td>Protected method to handle the press of the ESC key.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="QuickSearchLineEdit.editorCommand" ID="QuickSearchLineEdit.editorCommand"></a>
87 <h4>QuickSearchLineEdit.editorCommand</h4>
88 <b>editorCommand</b>(<i>cmd</i>)
89 <p>
90 Public method to perform an editor command.
91 </p><dl>
92 <dt><i>cmd</i></dt>
93 <dd>
94 the scintilla command to be performed
95 </dd>
96 </dl><a NAME="QuickSearchLineEdit.focusInEvent" ID="QuickSearchLineEdit.focusInEvent"></a>
97 <h4>QuickSearchLineEdit.focusInEvent</h4>
98 <b>focusInEvent</b>(<i>evt</i>)
99 <p>
100 Protected method to record the current editor widget.
101 </p><dl>
102 <dt><i>evt</i></dt>
103 <dd>
104 focus event (QFocusEvent)
105 </dd>
106 </dl><a NAME="QuickSearchLineEdit.keyPressEvent" ID="QuickSearchLineEdit.keyPressEvent"></a>
107 <h4>QuickSearchLineEdit.keyPressEvent</h4>
108 <b>keyPressEvent</b>(<i>evt</i>)
109 <p>
110 Protected method to handle the press of the ESC key.
111 </p><dl>
112 <dt><i>evt</i></dt>
113 <dd>
114 key event (QKeyPressEvent)
115 </dd>
116 </dl>
117 <div align="right"><a href="#top">Up</a></div>
118 <hr /><hr />
119 <a NAME="ViewManager" ID="ViewManager"></a>
120 <h2>ViewManager</h2>
121 <p>
122 Base class inherited by all specific viewmanager classes.
123 </p><p>
124 It defines the interface to be implemented by specific
125 viewmanager classes and all common methods.
126 </p><h3>Signals</h3>
127 <dl>
128 <dt>astViewerStateChanged(bool)</dt>
129 <dd>
130 emitted to signal a change in the
131 AST viewer state
132 </dd><dt>bookmarkToggled(Editor)</dt>
133 <dd>
134 emitted when a bookmark is toggled
135 </dd><dt>breakpointToggled(Editor)</dt>
136 <dd>
137 emitted when a breakpoint is toggled
138 </dd><dt>changeCaption(str)</dt>
139 <dd>
140 emitted if a change of the caption is necessary
141 </dd><dt>checkActions(Editor)</dt>
142 <dd>
143 emitted when some actions should be checked
144 for their status
145 </dd><dt>cursorChanged(Editor)</dt>
146 <dd>
147 emitted after the cursor position of the
148 active window has changed
149 </dd><dt>editorChanged(str)</dt>
150 <dd>
151 emitted when the current editor has changed
152 </dd><dt>editorChangedEd(Editor)</dt>
153 <dd>
154 emitted when the current editor has changed
155 </dd><dt>editorClosed(str)</dt>
156 <dd>
157 emitted just before an editor window gets closed
158 </dd><dt>editorClosedEd(Editor)</dt>
159 <dd>
160 emitted just before an editor window gets
161 closed
162 </dd><dt>editorDoubleClickedEd(Editor, position, buttons)</dt>
163 <dd>
164 emitted to signal
165 a mouse double click in an editor
166 </dd><dt>editorLanguageChanged(Editor)</dt>
167 <dd>
168 emitted to signal a change of an
169 editor's language
170 </dd><dt>editorLineChanged(str,int)</dt>
171 <dd>
172 emitted to signal a change of an
173 editor's current line (line is given one based)
174 </dd><dt>editorOpened(str)</dt>
175 <dd>
176 emitted after an editor window was opened
177 </dd><dt>editorOpenedEd(Editor)</dt>
178 <dd>
179 emitted after an editor window was opened
180 </dd><dt>editorRenamed(str)</dt>
181 <dd>
182 emitted after an editor was renamed
183 </dd><dt>editorRenamedEd(Editor)</dt>
184 <dd>
185 emitted after an editor was renamed
186 </dd><dt>editorSaved(str)</dt>
187 <dd>
188 emitted after an editor window was saved
189 </dd><dt>editorSavedEd(Editor)</dt>
190 <dd>
191 emitted after an editor window was saved
192 </dd><dt>editorTextChanged(Editor)</dt>
193 <dd>
194 emitted to signal a change of an
195 editor's text
196 </dd><dt>lastEditorClosed()</dt>
197 <dd>
198 emitted after the last editor window was closed
199 </dd><dt>previewStateChanged(bool)</dt>
200 <dd>
201 emitted to signal a change in the
202 preview state
203 </dd><dt>syntaxerrorToggled(Editor)</dt>
204 <dd>
205 emitted when a syntax error is toggled
206 </dd>
207 </dl>
208 <h3>Derived from</h3>
209 QWidget
210 <h3>Class Attributes</h3>
211 <table>
212 <tr><td>None</td></tr>
213 </table>
214 <h3>Class Methods</h3>
215 <table>
216 <tr><td>None</td></tr>
217 </table>
218 <h3>Methods</h3>
219 <table>
220 <tr>
221 <td><a href="#ViewManager.__init__">ViewManager</a></td>
222 <td>Constructor</td>
223 </tr><tr>
224 <td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td>
225 <td>Private method to add the current file to the list of bookmarked files.</td>
226 </tr><tr>
227 <td><a href="#ViewManager.__astViewer">__astViewer</a></td>
228 <td>Private slot to handle a change of the AST Viewer selection state.</td>
229 </tr><tr>
230 <td><a href="#ViewManager.__autosave">__autosave</a></td>
231 <td>Private slot to save the contents of all editors automatically.</td>
232 </tr><tr>
233 <td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td>
234 <td>Private method to handle the bookmark selected signal.</td>
235 </tr><tr>
236 <td><a href="#ViewManager.__bookmarkToggled">__bookmarkToggled</a></td>
237 <td>Private slot to handle the bookmarkToggled signal.</td>
238 </tr><tr>
239 <td><a href="#ViewManager.__breakpointToggled">__breakpointToggled</a></td>
240 <td>Private slot to handle the breakpointToggled signal.</td>
241 </tr><tr>
242 <td><a href="#ViewManager.__changeMarkersUpdated">__changeMarkersUpdated</a></td>
243 <td>Private slot to handle the changeMarkersUpdated signal.</td>
244 </tr><tr>
245 <td><a href="#ViewManager.__clearAllBookmarks">__clearAllBookmarks</a></td>
246 <td>Private method to handle the clear all bookmarks action.</td>
247 </tr><tr>
248 <td><a href="#ViewManager.__clearAllFolds">__clearAllFolds</a></td>
249 <td>Private method to handle the clear all folds action.</td>
250 </tr><tr>
251 <td><a href="#ViewManager.__clearAllSyntaxErrors">__clearAllSyntaxErrors</a></td>
252 <td>Private method to handle the clear all syntax errors action.</td>
253 </tr><tr>
254 <td><a href="#ViewManager.__clearAllWarnings">__clearAllWarnings</a></td>
255 <td>Private method to handle the clear all warnings action.</td>
256 </tr><tr>
257 <td><a href="#ViewManager.__clearBookmarked">__clearBookmarked</a></td>
258 <td>Private method to clear the bookmarked files menu.</td>
259 </tr><tr>
260 <td><a href="#ViewManager.__connectEditor">__connectEditor</a></td>
261 <td>Private method to establish all editor connections.</td>
262 </tr><tr>
263 <td><a href="#ViewManager.__convertEOL">__convertEOL</a></td>
264 <td>Private method to handle the convert line end characters action.</td>
265 </tr><tr>
266 <td><a href="#ViewManager.__coverageMarkersShown">__coverageMarkersShown</a></td>
267 <td>Private slot to handle the coverageMarkersShown signal.</td>
268 </tr><tr>
269 <td><a href="#ViewManager.__cursorChanged">__cursorChanged</a></td>
270 <td>Private slot to handle the cursorChanged signal.</td>
271 </tr><tr>
272 <td><a href="#ViewManager.__editAutoComplete">__editAutoComplete</a></td>
273 <td>Private method to handle the autocomplete action.</td>
274 </tr><tr>
275 <td><a href="#ViewManager.__editAutoCompleteFromAPIs">__editAutoCompleteFromAPIs</a></td>
276 <td>Private method to handle the autocomplete from APIs action.</td>
277 </tr><tr>
278 <td><a href="#ViewManager.__editAutoCompleteFromAll">__editAutoCompleteFromAll</a></td>
279 <td>Private method to handle the autocomplete from All action.</td>
280 </tr><tr>
281 <td><a href="#ViewManager.__editAutoCompleteFromDoc">__editAutoCompleteFromDoc</a></td>
282 <td>Private method to handle the autocomplete from document action.</td>
283 </tr><tr>
284 <td><a href="#ViewManager.__editBookmarked">__editBookmarked</a></td>
285 <td>Private method to edit the list of bookmarked files.</td>
286 </tr><tr>
287 <td><a href="#ViewManager.__editBoxComment">__editBoxComment</a></td>
288 <td>Private method to handle the box comment action.</td>
289 </tr><tr>
290 <td><a href="#ViewManager.__editComment">__editComment</a></td>
291 <td>Private method to handle the comment action.</td>
292 </tr><tr>
293 <td><a href="#ViewManager.__editCopy">__editCopy</a></td>
294 <td>Private method to handle the copy action.</td>
295 </tr><tr>
296 <td><a href="#ViewManager.__editCut">__editCut</a></td>
297 <td>Private method to handle the cut action.</td>
298 </tr><tr>
299 <td><a href="#ViewManager.__editDelete">__editDelete</a></td>
300 <td>Private method to handle the delete action.</td>
301 </tr><tr>
302 <td><a href="#ViewManager.__editDeselectAll">__editDeselectAll</a></td>
303 <td>Private method to handle the select all action.</td>
304 </tr><tr>
305 <td><a href="#ViewManager.__editIndent">__editIndent</a></td>
306 <td>Private method to handle the indent action.</td>
307 </tr><tr>
308 <td><a href="#ViewManager.__editJoin">__editJoin</a></td>
309 <td>Private method to handle the join action.</td>
310 </tr><tr>
311 <td><a href="#ViewManager.__editPaste">__editPaste</a></td>
312 <td>Private method to handle the paste action.</td>
313 </tr><tr>
314 <td><a href="#ViewManager.__editProjectPEL">__editProjectPEL</a></td>
315 <td>Private slot to edit the project exception list.</td>
316 </tr><tr>
317 <td><a href="#ViewManager.__editProjectPWL">__editProjectPWL</a></td>
318 <td>Private slot to edit the project word list.</td>
319 </tr><tr>
320 <td><a href="#ViewManager.__editRedo">__editRedo</a></td>
321 <td>Private method to handle the redo action.</td>
322 </tr><tr>
323 <td><a href="#ViewManager.__editRevert">__editRevert</a></td>
324 <td>Private method to handle the revert action.</td>
325 </tr><tr>
326 <td><a href="#ViewManager.__editSelectAll">__editSelectAll</a></td>
327 <td>Private method to handle the select all action.</td>
328 </tr><tr>
329 <td><a href="#ViewManager.__editSelectBrace">__editSelectBrace</a></td>
330 <td>Private method to handle the select to brace action.</td>
331 </tr><tr>
332 <td><a href="#ViewManager.__editShowCallTips">__editShowCallTips</a></td>
333 <td>Private method to handle the calltips action.</td>
334 </tr><tr>
335 <td><a href="#ViewManager.__editShowCodeInfo">__editShowCodeInfo</a></td>
336 <td>Private method to handle the code info action.</td>
337 </tr><tr>
338 <td><a href="#ViewManager.__editSmartIndent">__editSmartIndent</a></td>
339 <td>Private method to handle the smart indent action.</td>
340 </tr><tr>
341 <td><a href="#ViewManager.__editSortSelectedLines">__editSortSelectedLines</a></td>
342 <td>Private slot to sort the selected lines.</td>
343 </tr><tr>
344 <td><a href="#ViewManager.__editSpellingDictionary">__editSpellingDictionary</a></td>
345 <td>Private slot to edit the given spelling dictionary.</td>
346 </tr><tr>
347 <td><a href="#ViewManager.__editStreamComment">__editStreamComment</a></td>
348 <td>Private method to handle the stream comment action.</td>
349 </tr><tr>
350 <td><a href="#ViewManager.__editToggleComment">__editToggleComment</a></td>
351 <td>Private method to handle the toggle comment action.</td>
352 </tr><tr>
353 <td><a href="#ViewManager.__editUncomment">__editUncomment</a></td>
354 <td>Private method to handle the uncomment action.</td>
355 </tr><tr>
356 <td><a href="#ViewManager.__editUndo">__editUndo</a></td>
357 <td>Private method to handle the undo action.</td>
358 </tr><tr>
359 <td><a href="#ViewManager.__editUnindent">__editUnindent</a></td>
360 <td>Private method to handle the unindent action.</td>
361 </tr><tr>
362 <td><a href="#ViewManager.__editUserPEL">__editUserPEL</a></td>
363 <td>Private slot to edit the user exception list.</td>
364 </tr><tr>
365 <td><a href="#ViewManager.__editUserPWL">__editUserPWL</a></td>
366 <td>Private slot to edit the user word list.</td>
367 </tr><tr>
368 <td><a href="#ViewManager.__editorAutoCompletionAPIsAvailable">__editorAutoCompletionAPIsAvailable</a></td>
369 <td>Private method to handle the availability of API autocompletion signal.</td>
370 </tr><tr>
371 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td>
372 <td>Private method to send an editor command to the active window.</td>
373 </tr><tr>
374 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td>
375 <td>Private slot to handle changes of an editor's configuration.</td>
376 </tr><tr>
377 <td><a href="#ViewManager.__editorDoubleClicked">__editorDoubleClicked</a></td>
378 <td>Private slot handling mouse double clicks of an editor.</td>
379 </tr><tr>
380 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td>
381 <td>Private slot to handle the editorOpened signal.</td>
382 </tr><tr>
383 <td><a href="#ViewManager.__editorRenamed">__editorRenamed</a></td>
384 <td>Private slot to handle the editorRenamed signal.</td>
385 </tr><tr>
386 <td><a href="#ViewManager.__editorSaved">__editorSaved</a></td>
387 <td>Private slot to handle the editorSaved signal.</td>
388 </tr><tr>
389 <td><a href="#ViewManager.__editorSelectionChanged">__editorSelectionChanged</a></td>
390 <td>Private slot to handle changes of the current editors selection.</td>
391 </tr><tr>
392 <td><a href="#ViewManager.__enableSpellingActions">__enableSpellingActions</a></td>
393 <td>Private method to set the enabled state of the spelling actions.</td>
394 </tr><tr>
395 <td><a href="#ViewManager.__eolPixmap">__eolPixmap</a></td>
396 <td>Private method to get an EOL pixmap for an EOL string.</td>
397 </tr><tr>
398 <td><a href="#ViewManager.__exportMenuTriggered">__exportMenuTriggered</a></td>
399 <td>Private method to handle the selection of an export format.</td>
400 </tr><tr>
401 <td><a href="#ViewManager.__findFileName">__findFileName</a></td>
402 <td>Private method to handle the search for file action.</td>
403 </tr><tr>
404 <td><a href="#ViewManager.__findNextWord">__findNextWord</a></td>
405 <td>Private slot to find the next occurrence of the current word of the current editor.</td>
406 </tr><tr>
407 <td><a href="#ViewManager.__findPrevWord">__findPrevWord</a></td>
408 <td>Private slot to find the previous occurrence of the current word of the current editor.</td>
409 </tr><tr>
410 <td><a href="#ViewManager.__goto">__goto</a></td>
411 <td>Private method to handle the goto action.</td>
412 </tr><tr>
413 <td><a href="#ViewManager.__gotoBrace">__gotoBrace</a></td>
414 <td>Private method to handle the goto brace action.</td>
415 </tr><tr>
416 <td><a href="#ViewManager.__gotoLastEditPosition">__gotoLastEditPosition</a></td>
417 <td>Private method to move the cursor to the last edit position.</td>
418 </tr><tr>
419 <td><a href="#ViewManager.__gotoNextMethodClass">__gotoNextMethodClass</a></td>
420 <td>Private slot to go to the next Python/Ruby method or class definition.</td>
421 </tr><tr>
422 <td><a href="#ViewManager.__gotoPreviousMethodClass">__gotoPreviousMethodClass</a></td>
423 <td>Private slot to go to the previous Python/Ruby method or class definition.</td>
424 </tr><tr>
425 <td><a href="#ViewManager.__gotoSyntaxError">__gotoSyntaxError</a></td>
426 <td>Private method to handle the goto syntax error action.</td>
427 </tr><tr>
428 <td><a href="#ViewManager.__initBookmarkActions">__initBookmarkActions</a></td>
429 <td>Private method defining the user interface actions for the bookmarks commands.</td>
430 </tr><tr>
431 <td><a href="#ViewManager.__initContextMenuExporters">__initContextMenuExporters</a></td>
432 <td>Private method used to setup the Exporters sub menu.</td>
433 </tr><tr>
434 <td><a href="#ViewManager.__initEditActions">__initEditActions</a></td>
435 <td>Private method defining the user interface actions for the edit commands.</td>
436 </tr><tr>
437 <td><a href="#ViewManager.__initFileActions">__initFileActions</a></td>
438 <td>Private method defining the user interface actions for file handling.</td>
439 </tr><tr>
440 <td><a href="#ViewManager.__initMacroActions">__initMacroActions</a></td>
441 <td>Private method defining the user interface actions for the macro commands.</td>
442 </tr><tr>
443 <td><a href="#ViewManager.__initSearchActions">__initSearchActions</a></td>
444 <td>Private method defining the user interface actions for the search commands.</td>
445 </tr><tr>
446 <td><a href="#ViewManager.__initSpellingActions">__initSpellingActions</a></td>
447 <td>Private method to initialize the spell checking actions.</td>
448 </tr><tr>
449 <td><a href="#ViewManager.__initViewActions">__initViewActions</a></td>
450 <td>Private method defining the user interface actions for the view commands.</td>
451 </tr><tr>
452 <td><a href="#ViewManager.__isEditorInfoSupportedEd">__isEditorInfoSupportedEd</a></td>
453 <td>Private method to check, if an editor is supported by the documentation viewer.</td>
454 </tr><tr>
455 <td><a href="#ViewManager.__lastEditPositionAvailable">__lastEditPositionAvailable</a></td>
456 <td>Private slot to handle the lastEditPositionAvailable signal of an editor.</td>
457 </tr><tr>
458 <td><a href="#ViewManager.__lastEditorClosed">__lastEditorClosed</a></td>
459 <td>Private slot to handle the lastEditorClosed signal.</td>
460 </tr><tr>
461 <td><a href="#ViewManager.__loadRecent">__loadRecent</a></td>
462 <td>Private method to load the recently opened filenames.</td>
463 </tr><tr>
464 <td><a href="#ViewManager.__macroDelete">__macroDelete</a></td>
465 <td>Private method to handle the delete macro action.</td>
466 </tr><tr>
467 <td><a href="#ViewManager.__macroLoad">__macroLoad</a></td>
468 <td>Private method to handle the load macro action.</td>
469 </tr><tr>
470 <td><a href="#ViewManager.__macroRun">__macroRun</a></td>
471 <td>Private method to handle the run macro action.</td>
472 </tr><tr>
473 <td><a href="#ViewManager.__macroSave">__macroSave</a></td>
474 <td>Private method to handle the save macro action.</td>
475 </tr><tr>
476 <td><a href="#ViewManager.__macroStartRecording">__macroStartRecording</a></td>
477 <td>Private method to handle the start macro recording action.</td>
478 </tr><tr>
479 <td><a href="#ViewManager.__macroStopRecording">__macroStopRecording</a></td>
480 <td>Private method to handle the stop macro recording action.</td>
481 </tr><tr>
482 <td><a href="#ViewManager.__newDocumentSplitView">__newDocumentSplitView</a></td>
483 <td>Private method to open a new view of the current editor in a new split.</td>
484 </tr><tr>
485 <td><a href="#ViewManager.__newDocumentView">__newDocumentView</a></td>
486 <td>Private method to open a new view of the current editor.</td>
487 </tr><tr>
488 <td><a href="#ViewManager.__newLineBelow">__newLineBelow</a></td>
489 <td>Private method to insert a new line below the current one even if cursor is not at the end of the line.</td>
490 </tr><tr>
491 <td><a href="#ViewManager.__nextBookmark">__nextBookmark</a></td>
492 <td>Private method to handle the next bookmark action.</td>
493 </tr><tr>
494 <td><a href="#ViewManager.__nextChange">__nextChange</a></td>
495 <td>Private method to handle the next change action.</td>
496 </tr><tr>
497 <td><a href="#ViewManager.__nextTask">__nextTask</a></td>
498 <td>Private method to handle the next task action.</td>
499 </tr><tr>
500 <td><a href="#ViewManager.__nextUncovered">__nextUncovered</a></td>
501 <td>Private method to handle the next uncovered action.</td>
502 </tr><tr>
503 <td><a href="#ViewManager.__nextWarning">__nextWarning</a></td>
504 <td>Private method to handle the next warning action.</td>
505 </tr><tr>
506 <td><a href="#ViewManager.__openFiles">__openFiles</a></td>
507 <td>Private slot to open some files.</td>
508 </tr><tr>
509 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td>
510 <td>Private method to open a file from the list of recently opened files.</td>
511 </tr><tr>
512 <td><a href="#ViewManager.__previewEditor">__previewEditor</a></td>
513 <td>Private slot to handle a change of the preview selection state.</td>
514 </tr><tr>
515 <td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td>
516 <td>Private method to handle the previous bookmark action.</td>
517 </tr><tr>
518 <td><a href="#ViewManager.__previousChange">__previousChange</a></td>
519 <td>Private method to handle the previous change action.</td>
520 </tr><tr>
521 <td><a href="#ViewManager.__previousTask">__previousTask</a></td>
522 <td>Private method to handle the previous task action.</td>
523 </tr><tr>
524 <td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td>
525 <td>Private method to handle the previous uncovered action.</td>
526 </tr><tr>
527 <td><a href="#ViewManager.__previousWarning">__previousWarning</a></td>
528 <td>Private method to handle the previous warning action.</td>
529 </tr><tr>
530 <td><a href="#ViewManager.__quickSearch">__quickSearch</a></td>
531 <td>Private slot to handle the incremental quick search.</td>
532 </tr><tr>
533 <td><a href="#ViewManager.__quickSearchEnter">__quickSearchEnter</a></td>
534 <td>Private slot to handle the incremental quick search return pressed (jump back to text).</td>
535 </tr><tr>
536 <td><a href="#ViewManager.__quickSearchEscape">__quickSearchEscape</a></td>
537 <td>Private slot to handle the incremental quick search escape pressed (jump back to text).</td>
538 </tr><tr>
539 <td><a href="#ViewManager.__quickSearchExtend">__quickSearchExtend</a></td>
540 <td>Private method to handle the quicksearch extend action.</td>
541 </tr><tr>
542 <td><a href="#ViewManager.__quickSearchFocusIn">__quickSearchFocusIn</a></td>
543 <td>Private method to handle a focus in signal of the quicksearch lineedit.</td>
544 </tr><tr>
545 <td><a href="#ViewManager.__quickSearchInEditor">__quickSearchInEditor</a></td>
546 <td>Private slot to perform a quick search.</td>
547 </tr><tr>
548 <td><a href="#ViewManager.__quickSearchMarkOccurrences">__quickSearchMarkOccurrences</a></td>
549 <td>Private method to mark all occurrences of the search text.</td>
550 </tr><tr>
551 <td><a href="#ViewManager.__quickSearchPrev">__quickSearchPrev</a></td>
552 <td>Private slot to handle the quickFindPrev toolbutton action.</td>
553 </tr><tr>
554 <td><a href="#ViewManager.__quickSearchSetEditColors">__quickSearchSetEditColors</a></td>
555 <td>Private method to set the quick search edit colors.</td>
556 </tr><tr>
557 <td><a href="#ViewManager.__quickSearchText">__quickSearchText</a></td>
558 <td>Private slot to handle the textChanged signal of the quicksearch edit.</td>
559 </tr><tr>
560 <td><a href="#ViewManager.__replaceFiles">__replaceFiles</a></td>
561 <td>Private method to handle the replace in files action.</td>
562 </tr><tr>
563 <td><a href="#ViewManager.__replaceOpenFiles">__replaceOpenFiles</a></td>
564 <td>Private method to handle the replace in open files action.</td>
565 </tr><tr>
566 <td><a href="#ViewManager.__saveRecent">__saveRecent</a></td>
567 <td>Private method to save the list of recently opened filenames.</td>
568 </tr><tr>
569 <td><a href="#ViewManager.__searchClearMarkers">__searchClearMarkers</a></td>
570 <td>Private method to clear the search markers of the active window.</td>
571 </tr><tr>
572 <td><a href="#ViewManager.__searchFiles">__searchFiles</a></td>
573 <td>Private method to handle the search in files action.</td>
574 </tr><tr>
575 <td><a href="#ViewManager.__searchNext">__searchNext</a></td>
576 <td>Private slot to handle the search next action.</td>
577 </tr><tr>
578 <td><a href="#ViewManager.__searchOpenFiles">__searchOpenFiles</a></td>
579 <td>Private method to handle the search in open files action.</td>
580 </tr><tr>
581 <td><a href="#ViewManager.__searchPrev">__searchPrev</a></td>
582 <td>Private slot to handle the search previous action.</td>
583 </tr><tr>
584 <td><a href="#ViewManager.__setAutoSpellChecking">__setAutoSpellChecking</a></td>
585 <td>Private slot to set the automatic spell checking of all editors.</td>
586 </tr><tr>
587 <td><a href="#ViewManager.__setSbFile">__setSbFile</a></td>
588 <td>Private method to set the file info in the status bar.</td>
589 </tr><tr>
590 <td><a href="#ViewManager.__shortenEmptyLines">__shortenEmptyLines</a></td>
591 <td>Private method to handle the shorten empty lines action.</td>
592 </tr><tr>
593 <td><a href="#ViewManager.__showBookmarkMenu">__showBookmarkMenu</a></td>
594 <td>Private method to set up the bookmark menu.</td>
595 </tr><tr>
596 <td><a href="#ViewManager.__showBookmarkedMenu">__showBookmarkedMenu</a></td>
597 <td>Private method to set up bookmarked files menu.</td>
598 </tr><tr>
599 <td><a href="#ViewManager.__showBookmarksMenu">__showBookmarksMenu</a></td>
600 <td>Private method to handle the show bookmarks menu signal.</td>
601 </tr><tr>
602 <td><a href="#ViewManager.__showEditSpellingMenu">__showEditSpellingMenu</a></td>
603 <td>Private method to set up the edit dictionaries menu.</td>
604 </tr><tr>
605 <td><a href="#ViewManager.__showEncodingsMenu">__showEncodingsMenu</a></td>
606 <td>Private slot to show the Encodings menu of the current editor.</td>
607 </tr><tr>
608 <td><a href="#ViewManager.__showEolMenu">__showEolMenu</a></td>
609 <td>Private slot to show the EOL menu of the current editor.</td>
610 </tr><tr>
611 <td><a href="#ViewManager.__showFileMenu">__showFileMenu</a></td>
612 <td>Private method to set up the file menu.</td>
613 </tr><tr>
614 <td><a href="#ViewManager.__showLanguagesMenu">__showLanguagesMenu</a></td>
615 <td>Private slot to show the Languages menu of the current editor.</td>
616 </tr><tr>
617 <td><a href="#ViewManager.__showRecentMenu">__showRecentMenu</a></td>
618 <td>Private method to set up recent files menu.</td>
619 </tr><tr>
620 <td><a href="#ViewManager.__spellCheck">__spellCheck</a></td>
621 <td>Private slot to perform a spell check of the current editor.</td>
622 </tr><tr>
623 <td><a href="#ViewManager.__splitOrientation">__splitOrientation</a></td>
624 <td>Private method to handle the split orientation action.</td>
625 </tr><tr>
626 <td><a href="#ViewManager.__splitView">__splitView</a></td>
627 <td>Private method to handle the split view action.</td>
628 </tr><tr>
629 <td><a href="#ViewManager.__taskMarkersUpdated">__taskMarkersUpdated</a></td>
630 <td>Private slot to handle the taskMarkersUpdated signal.</td>
631 </tr><tr>
632 <td><a href="#ViewManager.__toggleAll">__toggleAll</a></td>
633 <td>Private method to handle the toggle all folds action.</td>
634 </tr><tr>
635 <td><a href="#ViewManager.__toggleAllChildren">__toggleAllChildren</a></td>
636 <td>Private method to handle the toggle all folds (including children) action.</td>
637 </tr><tr>
638 <td><a href="#ViewManager.__toggleBookmark">__toggleBookmark</a></td>
639 <td>Private method to handle the toggle bookmark action.</td>
640 </tr><tr>
641 <td><a href="#ViewManager.__toggleCurrent">__toggleCurrent</a></td>
642 <td>Private method to handle the toggle current fold action.</td>
643 </tr><tr>
644 <td><a href="#ViewManager.__unhighlight">__unhighlight</a></td>
645 <td>Private slot to switch of all highlights.</td>
646 </tr><tr>
647 <td><a href="#ViewManager.__zoom">__zoom</a></td>
648 <td>Private method to handle the zoom action.</td>
649 </tr><tr>
650 <td><a href="#ViewManager.__zoomIn">__zoomIn</a></td>
651 <td>Private method to handle the zoom in action.</td>
652 </tr><tr>
653 <td><a href="#ViewManager.__zoomOut">__zoomOut</a></td>
654 <td>Private method to handle the zoom out action.</td>
655 </tr><tr>
656 <td><a href="#ViewManager.__zoomReset">__zoomReset</a></td>
657 <td>Private method to reset the zoom factor.</td>
658 </tr><tr>
659 <td><a href="#ViewManager.__zoomTo">__zoomTo</a></td>
660 <td>Private slot to zoom to a given value.</td>
661 </tr><tr>
662 <td><a href="#ViewManager._addView">_addView</a></td>
663 <td>Protected method to add a view (i.e.</td>
664 </tr><tr>
665 <td><a href="#ViewManager._checkActions">_checkActions</a></td>
666 <td>Protected slot to check some actions for their enable/disable status and set the statusbar info.</td>
667 </tr><tr>
668 <td><a href="#ViewManager._getOpenFileFilter">_getOpenFileFilter</a></td>
669 <td>Protected method to return the active filename filter for a file open dialog.</td>
670 </tr><tr>
671 <td><a href="#ViewManager._getOpenStartDir">_getOpenStartDir</a></td>
672 <td>Protected method to return the starting directory for a file open dialog.</td>
673 </tr><tr>
674 <td><a href="#ViewManager._initWindowActions">_initWindowActions</a></td>
675 <td>Protected method to define the user interface actions for window handling.</td>
676 </tr><tr>
677 <td><a href="#ViewManager._modificationStatusChanged">_modificationStatusChanged</a></td>
678 <td>Protected slot to handle the modificationStatusChanged signal.</td>
679 </tr><tr>
680 <td><a href="#ViewManager._removeAllViews">_removeAllViews</a></td>
681 <td>Protected method to remove all views (i.e.</td>
682 </tr><tr>
683 <td><a href="#ViewManager._removeView">_removeView</a></td>
684 <td>Protected method to remove a view (i.e.</td>
685 </tr><tr>
686 <td><a href="#ViewManager._showView">_showView</a></td>
687 <td>Protected method to show a view (i.e.</td>
688 </tr><tr>
689 <td><a href="#ViewManager._syntaxErrorToggled">_syntaxErrorToggled</a></td>
690 <td>Protected slot to handle the syntaxerrorToggled signal.</td>
691 </tr><tr>
692 <td><a href="#ViewManager.activeWindow">activeWindow</a></td>
693 <td>Public method to return the active (i.e.</td>
694 </tr><tr>
695 <td><a href="#ViewManager.addSplit">addSplit</a></td>
696 <td>Public method used to split the current view.</td>
697 </tr><tr>
698 <td><a href="#ViewManager.addToExtrasMenu">addToExtrasMenu</a></td>
699 <td>Public method to add some actions to the extras menu.</td>
700 </tr><tr>
701 <td><a href="#ViewManager.addToRecentList">addToRecentList</a></td>
702 <td>Public slot to add a filename to the list of recently opened files.</td>
703 </tr><tr>
704 <td><a href="#ViewManager.appFocusChanged">appFocusChanged</a></td>
705 <td>Public method to handle the global change of focus.</td>
706 </tr><tr>
707 <td><a href="#ViewManager.canCascade">canCascade</a></td>
708 <td>Public method to signal if cascading of managed windows is available.</td>
709 </tr><tr>
710 <td><a href="#ViewManager.canSplit">canSplit</a></td>
711 <td>Public method to signal if splitting of the view is available.</td>
712 </tr><tr>
713 <td><a href="#ViewManager.canTile">canTile</a></td>
714 <td>Public method to signal if tiling of managed windows is available.</td>
715 </tr><tr>
716 <td><a href="#ViewManager.cancelSharedEdit">cancelSharedEdit</a></td>
717 <td>Public slot to cancel a shared edit session for the current editor.</td>
718 </tr><tr>
719 <td><a href="#ViewManager.cascade">cascade</a></td>
720 <td>Public method to cascade the managed windows.</td>
721 </tr><tr>
722 <td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td>
723 <td>Public method to check the dirty status of all editors.</td>
724 </tr><tr>
725 <td><a href="#ViewManager.checkDirty">checkDirty</a></td>
726 <td>Public method to check the dirty status and open a message window.</td>
727 </tr><tr>
728 <td><a href="#ViewManager.checkFileDirty">checkFileDirty</a></td>
729 <td>Public method to check the dirty status of an editor given its file name and open a message window.</td>
730 </tr><tr>
731 <td><a href="#ViewManager.clearRecent">clearRecent</a></td>
732 <td>Public method to clear the recent files menu.</td>
733 </tr><tr>
734 <td><a href="#ViewManager.cloneEditor">cloneEditor</a></td>
735 <td>Public method to clone an editor displaying the given document.</td>
736 </tr><tr>
737 <td><a href="#ViewManager.closeAllWindows">closeAllWindows</a></td>
738 <td>Public method to close all editor windows via file menu.</td>
739 </tr><tr>
740 <td><a href="#ViewManager.closeCurrentWindow">closeCurrentWindow</a></td>
741 <td>Public method to close the current window.</td>
742 </tr><tr>
743 <td><a href="#ViewManager.closeEditor">closeEditor</a></td>
744 <td>Public method to close an editor window.</td>
745 </tr><tr>
746 <td><a href="#ViewManager.closeEditorWindow">closeEditorWindow</a></td>
747 <td>Public method to close an arbitrary source editor.</td>
748 </tr><tr>
749 <td><a href="#ViewManager.closeViewManager">closeViewManager</a></td>
750 <td>Public method to shutdown the viewmanager.</td>
751 </tr><tr>
752 <td><a href="#ViewManager.closeWindow">closeWindow</a></td>
753 <td>Public method to close an arbitrary source editor.</td>
754 </tr><tr>
755 <td><a href="#ViewManager.editorsCheckFocusInEnabled">editorsCheckFocusInEnabled</a></td>
756 <td>Public method returning the flag indicating editors should perform focus in checks.</td>
757 </tr><tr>
758 <td><a href="#ViewManager.enableEditorsCheckFocusIn">enableEditorsCheckFocusIn</a></td>
759 <td>Public method to set a flag enabling the editors to perform focus in checks.</td>
760 </tr><tr>
761 <td><a href="#ViewManager.eventFilter">eventFilter</a></td>
762 <td>Public method called to filter an event.</td>
763 </tr><tr>
764 <td><a href="#ViewManager.exit">exit</a></td>
765 <td>Public method to handle the debugged program terminating.</td>
766 </tr><tr>
767 <td><a href="#ViewManager.getAPIsManager">getAPIsManager</a></td>
768 <td>Public method to get a reference to the APIs manager.</td>
769 </tr><tr>
770 <td><a href="#ViewManager.getActions">getActions</a></td>
771 <td>Public method to get a list of all actions.</td>
772 </tr><tr>
773 <td><a href="#ViewManager.getActiveName">getActiveName</a></td>
774 <td>Public method to retrieve the filename of the active window.</td>
775 </tr><tr>
776 <td><a href="#ViewManager.getEditor">getEditor</a></td>
777 <td>Public method to return the editor displaying the given file.</td>
778 </tr><tr>
779 <td><a href="#ViewManager.getMostRecent">getMostRecent</a></td>
780 <td>Public method to get the most recently opened file.</td>
781 </tr><tr>
782 <td><a href="#ViewManager.getNumber">getNumber</a></td>
783 <td>Public method to get a number from the active window.</td>
784 </tr><tr>
785 <td><a href="#ViewManager.getOpenEditor">getOpenEditor</a></td>
786 <td>Public method to return the editor displaying the given file.</td>
787 </tr><tr>
788 <td><a href="#ViewManager.getOpenEditorCount">getOpenEditorCount</a></td>
789 <td>Public method to return the count of editors displaying the given file.</td>
790 </tr><tr>
791 <td><a href="#ViewManager.getOpenEditors">getOpenEditors</a></td>
792 <td>Public method to get references to all open editors.</td>
793 </tr><tr>
794 <td><a href="#ViewManager.getOpenEditorsCount">getOpenEditorsCount</a></td>
795 <td>Public method to get the number of open editors.</td>
796 </tr><tr>
797 <td><a href="#ViewManager.getOpenEditorsForSession">getOpenEditorsForSession</a></td>
798 <td>Public method to get a lists of all open editors.</td>
799 </tr><tr>
800 <td><a href="#ViewManager.getOpenFilenames">getOpenFilenames</a></td>
801 <td>Public method returning a list of the filenames of all editors.</td>
802 </tr><tr>
803 <td><a href="#ViewManager.getSRHistory">getSRHistory</a></td>
804 <td>Public method to get the search or replace history list.</td>
805 </tr><tr>
806 <td><a href="#ViewManager.getSplitOrientation">getSplitOrientation</a></td>
807 <td>Public method to get the orientation of the split view.</td>
808 </tr><tr>
809 <td><a href="#ViewManager.handleResetUI">handleResetUI</a></td>
810 <td>Public slot to handle the resetUI signal.</td>
811 </tr><tr>
812 <td><a href="#ViewManager.initActions">initActions</a></td>
813 <td>Public method defining the user interface actions.</td>
814 </tr><tr>
815 <td><a href="#ViewManager.initBookmarkMenu">initBookmarkMenu</a></td>
816 <td>Public method to create the Bookmark menu.</td>
817 </tr><tr>
818 <td><a href="#ViewManager.initBookmarkToolbar">initBookmarkToolbar</a></td>
819 <td>Public method to create the Bookmark toolbar.</td>
820 </tr><tr>
821 <td><a href="#ViewManager.initEditMenu">initEditMenu</a></td>
822 <td>Public method to create the Edit menu.</td>
823 </tr><tr>
824 <td><a href="#ViewManager.initEditToolbar">initEditToolbar</a></td>
825 <td>Public method to create the Edit toolbar.</td>
826 </tr><tr>
827 <td><a href="#ViewManager.initFileMenu">initFileMenu</a></td>
828 <td>Public method to create the File menu.</td>
829 </tr><tr>
830 <td><a href="#ViewManager.initFileToolbar">initFileToolbar</a></td>
831 <td>Public method to create the File toolbar.</td>
832 </tr><tr>
833 <td><a href="#ViewManager.initMacroMenu">initMacroMenu</a></td>
834 <td>Public method to create the Macro menu.</td>
835 </tr><tr>
836 <td><a href="#ViewManager.initSearchToolbars">initSearchToolbars</a></td>
837 <td>Public method to create the Search toolbars.</td>
838 </tr><tr>
839 <td><a href="#ViewManager.initSpellingToolbar">initSpellingToolbar</a></td>
840 <td>Public method to create the Spelling toolbar.</td>
841 </tr><tr>
842 <td><a href="#ViewManager.initViewMenu">initViewMenu</a></td>
843 <td>Public method to create the View menu.</td>
844 </tr><tr>
845 <td><a href="#ViewManager.initViewToolbar">initViewToolbar</a></td>
846 <td>Public method to create the View toolbar.</td>
847 </tr><tr>
848 <td><a href="#ViewManager.insertNumber">insertNumber</a></td>
849 <td>Public slot to insert a number text into the active window.</td>
850 </tr><tr>
851 <td><a href="#ViewManager.insertSymbol">insertSymbol</a></td>
852 <td>Public slot to insert a symbol text into the active window.</td>
853 </tr><tr>
854 <td><a href="#ViewManager.isConnected">isConnected</a></td>
855 <td>Public method to check the connection status of the IDE.</td>
856 </tr><tr>
857 <td><a href="#ViewManager.isEditorInfoSupported">isEditorInfoSupported</a></td>
858 <td>Public method to check, if a language is supported by the documentation viewer.</td>
859 </tr><tr>
860 <td><a href="#ViewManager.mainWidget">mainWidget</a></td>
861 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td>
862 </tr><tr>
863 <td><a href="#ViewManager.newEditor">newEditor</a></td>
864 <td>Public slot to generate a new empty editor.</td>
865 </tr><tr>
866 <td><a href="#ViewManager.newEditorView">newEditorView</a></td>
867 <td>Public method to create a new editor displaying the given document.</td>
868 </tr><tr>
869 <td><a href="#ViewManager.nextSplit">nextSplit</a></td>
870 <td>Public slot used to move to the next split.</td>
871 </tr><tr>
872 <td><a href="#ViewManager.openFiles">openFiles</a></td>
873 <td>Public slot to open some files.</td>
874 </tr><tr>
875 <td><a href="#ViewManager.openSourceFile">openSourceFile</a></td>
876 <td>Public slot to display a file in an editor.</td>
877 </tr><tr>
878 <td><a href="#ViewManager.preferencesChanged">preferencesChanged</a></td>
879 <td>Public slot to handle the preferencesChanged signal.</td>
880 </tr><tr>
881 <td><a href="#ViewManager.prevSplit">prevSplit</a></td>
882 <td>Public slot used to move to the previous split.</td>
883 </tr><tr>
884 <td><a href="#ViewManager.printCurrentEditor">printCurrentEditor</a></td>
885 <td>Public slot to print the contents of the current editor.</td>
886 </tr><tr>
887 <td><a href="#ViewManager.printEditor">printEditor</a></td>
888 <td>Public slot to print an editor.</td>
889 </tr><tr>
890 <td><a href="#ViewManager.printPreviewCurrentEditor">printPreviewCurrentEditor</a></td>
891 <td>Public slot to show a print preview of the current editor.</td>
892 </tr><tr>
893 <td><a href="#ViewManager.projectClosed">projectClosed</a></td>
894 <td>Public slot to handle the projectClosed signal.</td>
895 </tr><tr>
896 <td><a href="#ViewManager.projectFileRenamed">projectFileRenamed</a></td>
897 <td>Public slot to handle the projectFileRenamed signal.</td>
898 </tr><tr>
899 <td><a href="#ViewManager.projectLexerAssociationsChanged">projectLexerAssociationsChanged</a></td>
900 <td>Public slot to handle changes of the project lexer associations.</td>
901 </tr><tr>
902 <td><a href="#ViewManager.projectOpened">projectOpened</a></td>
903 <td>Public slot to handle the projectOpened signal.</td>
904 </tr><tr>
905 <td><a href="#ViewManager.receive">receive</a></td>
906 <td>Public slot to handle received editor commands.</td>
907 </tr><tr>
908 <td><a href="#ViewManager.removeSplit">removeSplit</a></td>
909 <td>Public method used to remove the current split view or a split view by index.</td>
910 </tr><tr>
911 <td><a href="#ViewManager.replaceWidget">replaceWidget</a></td>
912 <td>Public method to get a reference to the replace widget.</td>
913 </tr><tr>
914 <td><a href="#ViewManager.saveAllEditors">saveAllEditors</a></td>
915 <td>Public slot to save the contents of all editors.</td>
916 </tr><tr>
917 <td><a href="#ViewManager.saveAsCurrentEditor">saveAsCurrentEditor</a></td>
918 <td>Public slot to save the contents of the current editor to a new file.</td>
919 </tr><tr>
920 <td><a href="#ViewManager.saveAsEditorEd">saveAsEditorEd</a></td>
921 <td>Public slot to save the contents of an editor to a new file.</td>
922 </tr><tr>
923 <td><a href="#ViewManager.saveCopyCurrentEditor">saveCopyCurrentEditor</a></td>
924 <td>Public slot to save the contents of the current editor to a new copy of the file.</td>
925 </tr><tr>
926 <td><a href="#ViewManager.saveCopyEditorEd">saveCopyEditorEd</a></td>
927 <td>Public slot to save the contents of an editor to a new copy of the file.</td>
928 </tr><tr>
929 <td><a href="#ViewManager.saveCurrentEditor">saveCurrentEditor</a></td>
930 <td>Public slot to save the contents of the current editor.</td>
931 </tr><tr>
932 <td><a href="#ViewManager.saveEditor">saveEditor</a></td>
933 <td>Public method to save a named editor file.</td>
934 </tr><tr>
935 <td><a href="#ViewManager.saveEditorEd">saveEditorEd</a></td>
936 <td>Public slot to save the contents of an editor.</td>
937 </tr><tr>
938 <td><a href="#ViewManager.saveEditorsList">saveEditorsList</a></td>
939 <td>Public slot to save a list of editors.</td>
940 </tr><tr>
941 <td><a href="#ViewManager.searchWidget">searchWidget</a></td>
942 <td>Public method to get a reference to the search widget.</td>
943 </tr><tr>
944 <td><a href="#ViewManager.send">send</a></td>
945 <td>Public method to send an editor command to remote editors.</td>
946 </tr><tr>
947 <td><a href="#ViewManager.sendSharedEdit">sendSharedEdit</a></td>
948 <td>Public slot to end a shared edit session for the current editor and send the changes.</td>
949 </tr><tr>
950 <td><a href="#ViewManager.setCooperationClient">setCooperationClient</a></td>
951 <td>Public method to set a reference to the cooperation client.</td>
952 </tr><tr>
953 <td><a href="#ViewManager.setEditorName">setEditorName</a></td>
954 <td>Public method to change the displayed name of the editor.</td>
955 </tr><tr>
956 <td><a href="#ViewManager.setFileLine">setFileLine</a></td>
957 <td>Public method to update the user interface when the current program or line changes.</td>
958 </tr><tr>
959 <td><a href="#ViewManager.setReferences">setReferences</a></td>
960 <td>Public method to set some references needed later on.</td>
961 </tr><tr>
962 <td><a href="#ViewManager.setSbInfo">setSbInfo</a></td>
963 <td>Public method to transfer statusbar info from the user interface to viewmanager.</td>
964 </tr><tr>
965 <td><a href="#ViewManager.setSplitCount">setSplitCount</a></td>
966 <td>Public method to set the number of split views.</td>
967 </tr><tr>
968 <td><a href="#ViewManager.setSplitOrientation">setSplitOrientation</a></td>
969 <td>Public method used to set the orientation of the split view.</td>
970 </tr><tr>
971 <td><a href="#ViewManager.shareConnected">shareConnected</a></td>
972 <td>Public slot to handle a change of the connected state.</td>
973 </tr><tr>
974 <td><a href="#ViewManager.shareEditor">shareEditor</a></td>
975 <td>Public slot to set the shared status of the current editor.</td>
976 </tr><tr>
977 <td><a href="#ViewManager.showDebugSource">showDebugSource</a></td>
978 <td>Public method to open the given file and highlight the given line in it.</td>
979 </tr><tr>
980 <td><a href="#ViewManager.showEditorInfo">showEditorInfo</a></td>
981 <td>Public method to show some information for a given editor.</td>
982 </tr><tr>
983 <td><a href="#ViewManager.showReplaceWidget">showReplaceWidget</a></td>
984 <td>Public method to show the replace widget.</td>
985 </tr><tr>
986 <td><a href="#ViewManager.showSearchWidget">showSearchWidget</a></td>
987 <td>Public method to show the search widget.</td>
988 </tr><tr>
989 <td><a href="#ViewManager.showWindowMenu">showWindowMenu</a></td>
990 <td>Public method to set up the viewmanager part of the Window menu.</td>
991 </tr><tr>
992 <td><a href="#ViewManager.splitCount">splitCount</a></td>
993 <td>Public method to get the number of split views.</td>
994 </tr><tr>
995 <td><a href="#ViewManager.startSharedEdit">startSharedEdit</a></td>
996 <td>Public slot to start a shared edit session for the current editor.</td>
997 </tr><tr>
998 <td><a href="#ViewManager.textForFind">textForFind</a></td>
999 <td>Public method to determine the selection or the current word for the next find operation.</td>
1000 </tr><tr>
1001 <td><a href="#ViewManager.tile">tile</a></td>
1002 <td>Public method to tile the managed windows.</td>
1003 </tr><tr>
1004 <td><a href="#ViewManager.unhighlight">unhighlight</a></td>
1005 <td>Public method to switch off all highlights or the highlight of the current editor.</td>
1006 </tr><tr>
1007 <td><a href="#ViewManager.zoomValueChanged">zoomValueChanged</a></td>
1008 <td>Public slot to handle changes of the zoom value.</td>
1009 </tr>
1010 </table>
1011 <h3>Static Methods</h3>
1012 <table>
1013 <tr><td>None</td></tr>
1014 </table>
1015 <a NAME="ViewManager.__init__" ID="ViewManager.__init__"></a>
1016 <h4>ViewManager (Constructor)</h4>
1017 <b>ViewManager</b>(<i></i>)
1018 <p>
1019 Constructor
1020 </p><a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a>
1021 <h4>ViewManager.__addBookmarked</h4>
1022 <b>__addBookmarked</b>(<i></i>)
1023 <p>
1024 Private method to add the current file to the list of bookmarked files.
1025 </p><a NAME="ViewManager.__astViewer" ID="ViewManager.__astViewer"></a>
1026 <h4>ViewManager.__astViewer</h4>
1027 <b>__astViewer</b>(<i>checked</i>)
1028 <p>
1029 Private slot to handle a change of the AST Viewer selection state.
1030 </p><dl>
1031 <dt><i>checked</i></dt>
1032 <dd>
1033 state of the action (boolean)
1034 </dd>
1035 </dl><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a>
1036 <h4>ViewManager.__autosave</h4>
1037 <b>__autosave</b>(<i></i>)
1038 <p>
1039 Private slot to save the contents of all editors automatically.
1040 </p><p>
1041 Only named editors will be saved by the autosave timer.
1042 </p><a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a>
1043 <h4>ViewManager.__bookmarkSelected</h4>
1044 <b>__bookmarkSelected</b>(<i>act</i>)
1045 <p>
1046 Private method to handle the bookmark selected signal.
1047 </p><dl>
1048 <dt><i>act</i></dt>
1049 <dd>
1050 reference to the action that triggered (QAction)
1051 </dd>
1052 </dl><a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a>
1053 <h4>ViewManager.__bookmarkToggled</h4>
1054 <b>__bookmarkToggled</b>(<i>editor</i>)
1055 <p>
1056 Private slot to handle the bookmarkToggled signal.
1057 </p><p>
1058 It checks some bookmark actions and reemits the signal.
1059 </p><dl>
1060 <dt><i>editor</i></dt>
1061 <dd>
1062 editor that sent the signal
1063 </dd>
1064 </dl><a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a>
1065 <h4>ViewManager.__breakpointToggled</h4>
1066 <b>__breakpointToggled</b>(<i>editor</i>)
1067 <p>
1068 Private slot to handle the breakpointToggled signal.
1069 </p><p>
1070 It simply reemits the signal.
1071 </p><dl>
1072 <dt><i>editor</i></dt>
1073 <dd>
1074 editor that sent the signal
1075 </dd>
1076 </dl><a NAME="ViewManager.__changeMarkersUpdated" ID="ViewManager.__changeMarkersUpdated"></a>
1077 <h4>ViewManager.__changeMarkersUpdated</h4>
1078 <b>__changeMarkersUpdated</b>(<i>editor</i>)
1079 <p>
1080 Private slot to handle the changeMarkersUpdated signal.
1081 </p><dl>
1082 <dt><i>editor</i></dt>
1083 <dd>
1084 editor that sent the signal
1085 </dd>
1086 </dl><a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a>
1087 <h4>ViewManager.__clearAllBookmarks</h4>
1088 <b>__clearAllBookmarks</b>(<i></i>)
1089 <p>
1090 Private method to handle the clear all bookmarks action.
1091 </p><a NAME="ViewManager.__clearAllFolds" ID="ViewManager.__clearAllFolds"></a>
1092 <h4>ViewManager.__clearAllFolds</h4>
1093 <b>__clearAllFolds</b>(<i></i>)
1094 <p>
1095 Private method to handle the clear all folds action.
1096 </p><a NAME="ViewManager.__clearAllSyntaxErrors" ID="ViewManager.__clearAllSyntaxErrors"></a>
1097 <h4>ViewManager.__clearAllSyntaxErrors</h4>
1098 <b>__clearAllSyntaxErrors</b>(<i></i>)
1099 <p>
1100 Private method to handle the clear all syntax errors action.
1101 </p><a NAME="ViewManager.__clearAllWarnings" ID="ViewManager.__clearAllWarnings"></a>
1102 <h4>ViewManager.__clearAllWarnings</h4>
1103 <b>__clearAllWarnings</b>(<i></i>)
1104 <p>
1105 Private method to handle the clear all warnings action.
1106 </p><a NAME="ViewManager.__clearBookmarked" ID="ViewManager.__clearBookmarked"></a>
1107 <h4>ViewManager.__clearBookmarked</h4>
1108 <b>__clearBookmarked</b>(<i></i>)
1109 <p>
1110 Private method to clear the bookmarked files menu.
1111 </p><a NAME="ViewManager.__connectEditor" ID="ViewManager.__connectEditor"></a>
1112 <h4>ViewManager.__connectEditor</h4>
1113 <b>__connectEditor</b>(<i>editor</i>)
1114 <p>
1115 Private method to establish all editor connections.
1116 </p><dl>
1117 <dt><i>editor</i></dt>
1118 <dd>
1119 reference to the editor object to be connected
1120 </dd>
1121 </dl><a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a>
1122 <h4>ViewManager.__convertEOL</h4>
1123 <b>__convertEOL</b>(<i></i>)
1124 <p>
1125 Private method to handle the convert line end characters action.
1126 </p><a NAME="ViewManager.__coverageMarkersShown" ID="ViewManager.__coverageMarkersShown"></a>
1127 <h4>ViewManager.__coverageMarkersShown</h4>
1128 <b>__coverageMarkersShown</b>(<i>shown</i>)
1129 <p>
1130 Private slot to handle the coverageMarkersShown signal.
1131 </p><dl>
1132 <dt><i>shown</i></dt>
1133 <dd>
1134 flag indicating whether the markers were shown or cleared
1135 </dd>
1136 </dl><a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a>
1137 <h4>ViewManager.__cursorChanged</h4>
1138 <b>__cursorChanged</b>(<i>fn, line, pos, editor</i>)
1139 <p>
1140 Private slot to handle the cursorChanged signal.
1141 </p><p>
1142 It emits the signal cursorChanged with parameter editor.
1143 </p><dl>
1144 <dt><i>fn</i> (str)</dt>
1145 <dd>
1146 filename
1147 </dd><dt><i>line</i> (int)</dt>
1148 <dd>
1149 line number of the cursor
1150 </dd><dt><i>pos</i> (int)</dt>
1151 <dd>
1152 position in line of the cursor
1153 </dd><dt><i>editor</i> (Editor)</dt>
1154 <dd>
1155 reference to the editor
1156 </dd>
1157 </dl><a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a>
1158 <h4>ViewManager.__editAutoComplete</h4>
1159 <b>__editAutoComplete</b>(<i></i>)
1160 <p>
1161 Private method to handle the autocomplete action.
1162 </p><a NAME="ViewManager.__editAutoCompleteFromAPIs" ID="ViewManager.__editAutoCompleteFromAPIs"></a>
1163 <h4>ViewManager.__editAutoCompleteFromAPIs</h4>
1164 <b>__editAutoCompleteFromAPIs</b>(<i></i>)
1165 <p>
1166 Private method to handle the autocomplete from APIs action.
1167 </p><a NAME="ViewManager.__editAutoCompleteFromAll" ID="ViewManager.__editAutoCompleteFromAll"></a>
1168 <h4>ViewManager.__editAutoCompleteFromAll</h4>
1169 <b>__editAutoCompleteFromAll</b>(<i></i>)
1170 <p>
1171 Private method to handle the autocomplete from All action.
1172 </p><a NAME="ViewManager.__editAutoCompleteFromDoc" ID="ViewManager.__editAutoCompleteFromDoc"></a>
1173 <h4>ViewManager.__editAutoCompleteFromDoc</h4>
1174 <b>__editAutoCompleteFromDoc</b>(<i></i>)
1175 <p>
1176 Private method to handle the autocomplete from document action.
1177 </p><a NAME="ViewManager.__editBookmarked" ID="ViewManager.__editBookmarked"></a>
1178 <h4>ViewManager.__editBookmarked</h4>
1179 <b>__editBookmarked</b>(<i></i>)
1180 <p>
1181 Private method to edit the list of bookmarked files.
1182 </p><a NAME="ViewManager.__editBoxComment" ID="ViewManager.__editBoxComment"></a>
1183 <h4>ViewManager.__editBoxComment</h4>
1184 <b>__editBoxComment</b>(<i></i>)
1185 <p>
1186 Private method to handle the box comment action.
1187 </p><a NAME="ViewManager.__editComment" ID="ViewManager.__editComment"></a>
1188 <h4>ViewManager.__editComment</h4>
1189 <b>__editComment</b>(<i></i>)
1190 <p>
1191 Private method to handle the comment action.
1192 </p><a NAME="ViewManager.__editCopy" ID="ViewManager.__editCopy"></a>
1193 <h4>ViewManager.__editCopy</h4>
1194 <b>__editCopy</b>(<i></i>)
1195 <p>
1196 Private method to handle the copy action.
1197 </p><a NAME="ViewManager.__editCut" ID="ViewManager.__editCut"></a>
1198 <h4>ViewManager.__editCut</h4>
1199 <b>__editCut</b>(<i></i>)
1200 <p>
1201 Private method to handle the cut action.
1202 </p><a NAME="ViewManager.__editDelete" ID="ViewManager.__editDelete"></a>
1203 <h4>ViewManager.__editDelete</h4>
1204 <b>__editDelete</b>(<i></i>)
1205 <p>
1206 Private method to handle the delete action.
1207 </p><a NAME="ViewManager.__editDeselectAll" ID="ViewManager.__editDeselectAll"></a>
1208 <h4>ViewManager.__editDeselectAll</h4>
1209 <b>__editDeselectAll</b>(<i></i>)
1210 <p>
1211 Private method to handle the select all action.
1212 </p><a NAME="ViewManager.__editIndent" ID="ViewManager.__editIndent"></a>
1213 <h4>ViewManager.__editIndent</h4>
1214 <b>__editIndent</b>(<i></i>)
1215 <p>
1216 Private method to handle the indent action.
1217 </p><a NAME="ViewManager.__editJoin" ID="ViewManager.__editJoin"></a>
1218 <h4>ViewManager.__editJoin</h4>
1219 <b>__editJoin</b>(<i></i>)
1220 <p>
1221 Private method to handle the join action.
1222 </p><a NAME="ViewManager.__editPaste" ID="ViewManager.__editPaste"></a>
1223 <h4>ViewManager.__editPaste</h4>
1224 <b>__editPaste</b>(<i></i>)
1225 <p>
1226 Private method to handle the paste action.
1227 </p><a NAME="ViewManager.__editProjectPEL" ID="ViewManager.__editProjectPEL"></a>
1228 <h4>ViewManager.__editProjectPEL</h4>
1229 <b>__editProjectPEL</b>(<i></i>)
1230 <p>
1231 Private slot to edit the project exception list.
1232 </p><a NAME="ViewManager.__editProjectPWL" ID="ViewManager.__editProjectPWL"></a>
1233 <h4>ViewManager.__editProjectPWL</h4>
1234 <b>__editProjectPWL</b>(<i></i>)
1235 <p>
1236 Private slot to edit the project word list.
1237 </p><a NAME="ViewManager.__editRedo" ID="ViewManager.__editRedo"></a>
1238 <h4>ViewManager.__editRedo</h4>
1239 <b>__editRedo</b>(<i></i>)
1240 <p>
1241 Private method to handle the redo action.
1242 </p><a NAME="ViewManager.__editRevert" ID="ViewManager.__editRevert"></a>
1243 <h4>ViewManager.__editRevert</h4>
1244 <b>__editRevert</b>(<i></i>)
1245 <p>
1246 Private method to handle the revert action.
1247 </p><a NAME="ViewManager.__editSelectAll" ID="ViewManager.__editSelectAll"></a>
1248 <h4>ViewManager.__editSelectAll</h4>
1249 <b>__editSelectAll</b>(<i></i>)
1250 <p>
1251 Private method to handle the select all action.
1252 </p><a NAME="ViewManager.__editSelectBrace" ID="ViewManager.__editSelectBrace"></a>
1253 <h4>ViewManager.__editSelectBrace</h4>
1254 <b>__editSelectBrace</b>(<i></i>)
1255 <p>
1256 Private method to handle the select to brace action.
1257 </p><a NAME="ViewManager.__editShowCallTips" ID="ViewManager.__editShowCallTips"></a>
1258 <h4>ViewManager.__editShowCallTips</h4>
1259 <b>__editShowCallTips</b>(<i></i>)
1260 <p>
1261 Private method to handle the calltips action.
1262 </p><a NAME="ViewManager.__editShowCodeInfo" ID="ViewManager.__editShowCodeInfo"></a>
1263 <h4>ViewManager.__editShowCodeInfo</h4>
1264 <b>__editShowCodeInfo</b>(<i></i>)
1265 <p>
1266 Private method to handle the code info action.
1267 </p><a NAME="ViewManager.__editSmartIndent" ID="ViewManager.__editSmartIndent"></a>
1268 <h4>ViewManager.__editSmartIndent</h4>
1269 <b>__editSmartIndent</b>(<i></i>)
1270 <p>
1271 Private method to handle the smart indent action.
1272 </p><a NAME="ViewManager.__editSortSelectedLines" ID="ViewManager.__editSortSelectedLines"></a>
1273 <h4>ViewManager.__editSortSelectedLines</h4>
1274 <b>__editSortSelectedLines</b>(<i></i>)
1275 <p>
1276 Private slot to sort the selected lines.
1277 </p><a NAME="ViewManager.__editSpellingDictionary" ID="ViewManager.__editSpellingDictionary"></a>
1278 <h4>ViewManager.__editSpellingDictionary</h4>
1279 <b>__editSpellingDictionary</b>(<i>dictionaryFile</i>)
1280 <p>
1281 Private slot to edit the given spelling dictionary.
1282 </p><dl>
1283 <dt><i>dictionaryFile</i></dt>
1284 <dd>
1285 file name of the dictionary to edit (string)
1286 </dd>
1287 </dl><a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a>
1288 <h4>ViewManager.__editStreamComment</h4>
1289 <b>__editStreamComment</b>(<i></i>)
1290 <p>
1291 Private method to handle the stream comment action.
1292 </p><a NAME="ViewManager.__editToggleComment" ID="ViewManager.__editToggleComment"></a>
1293 <h4>ViewManager.__editToggleComment</h4>
1294 <b>__editToggleComment</b>(<i></i>)
1295 <p>
1296 Private method to handle the toggle comment action.
1297 </p><a NAME="ViewManager.__editUncomment" ID="ViewManager.__editUncomment"></a>
1298 <h4>ViewManager.__editUncomment</h4>
1299 <b>__editUncomment</b>(<i></i>)
1300 <p>
1301 Private method to handle the uncomment action.
1302 </p><a NAME="ViewManager.__editUndo" ID="ViewManager.__editUndo"></a>
1303 <h4>ViewManager.__editUndo</h4>
1304 <b>__editUndo</b>(<i></i>)
1305 <p>
1306 Private method to handle the undo action.
1307 </p><a NAME="ViewManager.__editUnindent" ID="ViewManager.__editUnindent"></a>
1308 <h4>ViewManager.__editUnindent</h4>
1309 <b>__editUnindent</b>(<i></i>)
1310 <p>
1311 Private method to handle the unindent action.
1312 </p><a NAME="ViewManager.__editUserPEL" ID="ViewManager.__editUserPEL"></a>
1313 <h4>ViewManager.__editUserPEL</h4>
1314 <b>__editUserPEL</b>(<i></i>)
1315 <p>
1316 Private slot to edit the user exception list.
1317 </p><a NAME="ViewManager.__editUserPWL" ID="ViewManager.__editUserPWL"></a>
1318 <h4>ViewManager.__editUserPWL</h4>
1319 <b>__editUserPWL</b>(<i></i>)
1320 <p>
1321 Private slot to edit the user word list.
1322 </p><a NAME="ViewManager.__editorAutoCompletionAPIsAvailable" ID="ViewManager.__editorAutoCompletionAPIsAvailable"></a>
1323 <h4>ViewManager.__editorAutoCompletionAPIsAvailable</h4>
1324 <b>__editorAutoCompletionAPIsAvailable</b>(<i>available, editor</i>)
1325 <p>
1326 Private method to handle the availability of API autocompletion signal.
1327 </p><dl>
1328 <dt><i>available</i> (bool)</dt>
1329 <dd>
1330 flag indicating the availability of API
1331 autocompletion
1332 </dd><dt><i>editor</i> (Editor)</dt>
1333 <dd>
1334 reference to the editor
1335 </dd>
1336 </dl><a NAME="ViewManager.__editorCommand" ID="ViewManager.__editorCommand"></a>
1337 <h4>ViewManager.__editorCommand</h4>
1338 <b>__editorCommand</b>(<i>cmd</i>)
1339 <p>
1340 Private method to send an editor command to the active window.
1341 </p><dl>
1342 <dt><i>cmd</i></dt>
1343 <dd>
1344 the scintilla command to be sent
1345 </dd>
1346 </dl><a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a>
1347 <h4>ViewManager.__editorConfigChanged</h4>
1348 <b>__editorConfigChanged</b>(<i>editor</i>)
1349 <p>
1350 Private slot to handle changes of an editor's configuration.
1351 </p><dl>
1352 <dt><i>editor</i> (Editor)</dt>
1353 <dd>
1354 reference to the editor
1355 </dd>
1356 </dl><a NAME="ViewManager.__editorDoubleClicked" ID="ViewManager.__editorDoubleClicked"></a>
1357 <h4>ViewManager.__editorDoubleClicked</h4>
1358 <b>__editorDoubleClicked</b>(<i>editor, pos, buttons</i>)
1359 <p>
1360 Private slot handling mouse double clicks of an editor.
1361 </p><p>
1362 Note: This method is simply a multiplexer to re-emit the signal
1363 with the editor prepended.
1364 </p><dl>
1365 <dt><i>editor</i> (Editor)</dt>
1366 <dd>
1367 reference to the editor, that emitted the signal
1368 </dd><dt><i>pos</i> (QPoint)</dt>
1369 <dd>
1370 position of the double click
1371 </dd><dt><i>buttons</i> (Qt.MouseButtons)</dt>
1372 <dd>
1373 mouse buttons that were double clicked
1374 </dd>
1375 </dl><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a>
1376 <h4>ViewManager.__editorOpened</h4>
1377 <b>__editorOpened</b>(<i></i>)
1378 <p>
1379 Private slot to handle the editorOpened signal.
1380 </p><a NAME="ViewManager.__editorRenamed" ID="ViewManager.__editorRenamed"></a>
1381 <h4>ViewManager.__editorRenamed</h4>
1382 <b>__editorRenamed</b>(<i>fn, editor</i>)
1383 <p>
1384 Private slot to handle the editorRenamed signal.
1385 </p><p>
1386 It simply re-emits the signal.
1387 </p><dl>
1388 <dt><i>fn</i> (str)</dt>
1389 <dd>
1390 filename of the renamed editor
1391 </dd><dt><i>editor</i> (Editor)</dt>
1392 <dd>
1393 reference to the editor
1394 </dd>
1395 </dl><a NAME="ViewManager.__editorSaved" ID="ViewManager.__editorSaved"></a>
1396 <h4>ViewManager.__editorSaved</h4>
1397 <b>__editorSaved</b>(<i>fn, editor</i>)
1398 <p>
1399 Private slot to handle the editorSaved signal.
1400 </p><p>
1401 It simply re-emits the signal.
1402 </p><dl>
1403 <dt><i>fn</i> (str)</dt>
1404 <dd>
1405 filename of the saved editor
1406 </dd><dt><i>editor</i> (Editor)</dt>
1407 <dd>
1408 reference to the editor
1409 </dd>
1410 </dl><a NAME="ViewManager.__editorSelectionChanged" ID="ViewManager.__editorSelectionChanged"></a>
1411 <h4>ViewManager.__editorSelectionChanged</h4>
1412 <b>__editorSelectionChanged</b>(<i>editor</i>)
1413 <p>
1414 Private slot to handle changes of the current editors selection.
1415 </p><dl>
1416 <dt><i>editor</i> (Editor)</dt>
1417 <dd>
1418 reference to the editor
1419 </dd>
1420 </dl><a NAME="ViewManager.__enableSpellingActions" ID="ViewManager.__enableSpellingActions"></a>
1421 <h4>ViewManager.__enableSpellingActions</h4>
1422 <b>__enableSpellingActions</b>(<i></i>)
1423 <p>
1424 Private method to set the enabled state of the spelling actions.
1425 </p><a NAME="ViewManager.__eolPixmap" ID="ViewManager.__eolPixmap"></a>
1426 <h4>ViewManager.__eolPixmap</h4>
1427 <b>__eolPixmap</b>(<i>eolIndicator</i>)
1428 <p>
1429 Private method to get an EOL pixmap for an EOL string.
1430 </p><dl>
1431 <dt><i>eolIndicator</i></dt>
1432 <dd>
1433 eol indicator string (string)
1434 </dd>
1435 </dl><dl>
1436 <dt>Returns:</dt>
1437 <dd>
1438 pixmap for the eol indicator (QPixmap)
1439 </dd>
1440 </dl><a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a>
1441 <h4>ViewManager.__exportMenuTriggered</h4>
1442 <b>__exportMenuTriggered</b>(<i>act</i>)
1443 <p>
1444 Private method to handle the selection of an export format.
1445 </p><dl>
1446 <dt><i>act</i></dt>
1447 <dd>
1448 reference to the action that was triggered (QAction)
1449 </dd>
1450 </dl><a NAME="ViewManager.__findFileName" ID="ViewManager.__findFileName"></a>
1451 <h4>ViewManager.__findFileName</h4>
1452 <b>__findFileName</b>(<i></i>)
1453 <p>
1454 Private method to handle the search for file action.
1455 </p><a NAME="ViewManager.__findNextWord" ID="ViewManager.__findNextWord"></a>
1456 <h4>ViewManager.__findNextWord</h4>
1457 <b>__findNextWord</b>(<i></i>)
1458 <p>
1459 Private slot to find the next occurrence of the current word of the
1460 current editor.
1461 </p><a NAME="ViewManager.__findPrevWord" ID="ViewManager.__findPrevWord"></a>
1462 <h4>ViewManager.__findPrevWord</h4>
1463 <b>__findPrevWord</b>(<i></i>)
1464 <p>
1465 Private slot to find the previous occurrence of the current word of
1466 the current editor.
1467 </p><a NAME="ViewManager.__goto" ID="ViewManager.__goto"></a>
1468 <h4>ViewManager.__goto</h4>
1469 <b>__goto</b>(<i></i>)
1470 <p>
1471 Private method to handle the goto action.
1472 </p><a NAME="ViewManager.__gotoBrace" ID="ViewManager.__gotoBrace"></a>
1473 <h4>ViewManager.__gotoBrace</h4>
1474 <b>__gotoBrace</b>(<i></i>)
1475 <p>
1476 Private method to handle the goto brace action.
1477 </p><a NAME="ViewManager.__gotoLastEditPosition" ID="ViewManager.__gotoLastEditPosition"></a>
1478 <h4>ViewManager.__gotoLastEditPosition</h4>
1479 <b>__gotoLastEditPosition</b>(<i></i>)
1480 <p>
1481 Private method to move the cursor to the last edit position.
1482 </p><a NAME="ViewManager.__gotoNextMethodClass" ID="ViewManager.__gotoNextMethodClass"></a>
1483 <h4>ViewManager.__gotoNextMethodClass</h4>
1484 <b>__gotoNextMethodClass</b>(<i></i>)
1485 <p>
1486 Private slot to go to the next Python/Ruby method or class definition.
1487 </p><a NAME="ViewManager.__gotoPreviousMethodClass" ID="ViewManager.__gotoPreviousMethodClass"></a>
1488 <h4>ViewManager.__gotoPreviousMethodClass</h4>
1489 <b>__gotoPreviousMethodClass</b>(<i></i>)
1490 <p>
1491 Private slot to go to the previous Python/Ruby method or class
1492 definition.
1493 </p><a NAME="ViewManager.__gotoSyntaxError" ID="ViewManager.__gotoSyntaxError"></a>
1494 <h4>ViewManager.__gotoSyntaxError</h4>
1495 <b>__gotoSyntaxError</b>(<i></i>)
1496 <p>
1497 Private method to handle the goto syntax error action.
1498 </p><a NAME="ViewManager.__initBookmarkActions" ID="ViewManager.__initBookmarkActions"></a>
1499 <h4>ViewManager.__initBookmarkActions</h4>
1500 <b>__initBookmarkActions</b>(<i></i>)
1501 <p>
1502 Private method defining the user interface actions for the bookmarks
1503 commands.
1504 </p><a NAME="ViewManager.__initContextMenuExporters" ID="ViewManager.__initContextMenuExporters"></a>
1505 <h4>ViewManager.__initContextMenuExporters</h4>
1506 <b>__initContextMenuExporters</b>(<i></i>)
1507 <p>
1508 Private method used to setup the Exporters sub menu.
1509 </p><dl>
1510 <dt>Returns:</dt>
1511 <dd>
1512 reference to the generated menu (QMenu)
1513 </dd>
1514 </dl><a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a>
1515 <h4>ViewManager.__initEditActions</h4>
1516 <b>__initEditActions</b>(<i></i>)
1517 <p>
1518 Private method defining the user interface actions for the edit
1519 commands.
1520 </p><a NAME="ViewManager.__initFileActions" ID="ViewManager.__initFileActions"></a>
1521 <h4>ViewManager.__initFileActions</h4>
1522 <b>__initFileActions</b>(<i></i>)
1523 <p>
1524 Private method defining the user interface actions for file handling.
1525 </p><a NAME="ViewManager.__initMacroActions" ID="ViewManager.__initMacroActions"></a>
1526 <h4>ViewManager.__initMacroActions</h4>
1527 <b>__initMacroActions</b>(<i></i>)
1528 <p>
1529 Private method defining the user interface actions for the macro
1530 commands.
1531 </p><a NAME="ViewManager.__initSearchActions" ID="ViewManager.__initSearchActions"></a>
1532 <h4>ViewManager.__initSearchActions</h4>
1533 <b>__initSearchActions</b>(<i></i>)
1534 <p>
1535 Private method defining the user interface actions for the search
1536 commands.
1537 </p><a NAME="ViewManager.__initSpellingActions" ID="ViewManager.__initSpellingActions"></a>
1538 <h4>ViewManager.__initSpellingActions</h4>
1539 <b>__initSpellingActions</b>(<i></i>)
1540 <p>
1541 Private method to initialize the spell checking actions.
1542 </p><a NAME="ViewManager.__initViewActions" ID="ViewManager.__initViewActions"></a>
1543 <h4>ViewManager.__initViewActions</h4>
1544 <b>__initViewActions</b>(<i></i>)
1545 <p>
1546 Private method defining the user interface actions for the view
1547 commands.
1548 </p><a NAME="ViewManager.__isEditorInfoSupportedEd" ID="ViewManager.__isEditorInfoSupportedEd"></a>
1549 <h4>ViewManager.__isEditorInfoSupportedEd</h4>
1550 <b>__isEditorInfoSupportedEd</b>(<i>editor</i>)
1551 <p>
1552 Private method to check, if an editor is supported by the
1553 documentation viewer.
1554 </p><dl>
1555 <dt><i>editor</i> (Editor)</dt>
1556 <dd>
1557 reference to the editor to check for
1558 </dd>
1559 </dl><dl>
1560 <dt>Returns:</dt>
1561 <dd>
1562 flag indicating the support status
1563 </dd>
1564 </dl><dl>
1565 <dt>Return Type:</dt>
1566 <dd>
1567 bool
1568 </dd>
1569 </dl><a NAME="ViewManager.__lastEditPositionAvailable" ID="ViewManager.__lastEditPositionAvailable"></a>
1570 <h4>ViewManager.__lastEditPositionAvailable</h4>
1571 <b>__lastEditPositionAvailable</b>(<i></i>)
1572 <p>
1573 Private slot to handle the lastEditPositionAvailable signal of an
1574 editor.
1575 </p><a NAME="ViewManager.__lastEditorClosed" ID="ViewManager.__lastEditorClosed"></a>
1576 <h4>ViewManager.__lastEditorClosed</h4>
1577 <b>__lastEditorClosed</b>(<i></i>)
1578 <p>
1579 Private slot to handle the lastEditorClosed signal.
1580 </p><a NAME="ViewManager.__loadRecent" ID="ViewManager.__loadRecent"></a>
1581 <h4>ViewManager.__loadRecent</h4>
1582 <b>__loadRecent</b>(<i></i>)
1583 <p>
1584 Private method to load the recently opened filenames.
1585 </p><a NAME="ViewManager.__macroDelete" ID="ViewManager.__macroDelete"></a>
1586 <h4>ViewManager.__macroDelete</h4>
1587 <b>__macroDelete</b>(<i></i>)
1588 <p>
1589 Private method to handle the delete macro action.
1590 </p><a NAME="ViewManager.__macroLoad" ID="ViewManager.__macroLoad"></a>
1591 <h4>ViewManager.__macroLoad</h4>
1592 <b>__macroLoad</b>(<i></i>)
1593 <p>
1594 Private method to handle the load macro action.
1595 </p><a NAME="ViewManager.__macroRun" ID="ViewManager.__macroRun"></a>
1596 <h4>ViewManager.__macroRun</h4>
1597 <b>__macroRun</b>(<i></i>)
1598 <p>
1599 Private method to handle the run macro action.
1600 </p><a NAME="ViewManager.__macroSave" ID="ViewManager.__macroSave"></a>
1601 <h4>ViewManager.__macroSave</h4>
1602 <b>__macroSave</b>(<i></i>)
1603 <p>
1604 Private method to handle the save macro action.
1605 </p><a NAME="ViewManager.__macroStartRecording" ID="ViewManager.__macroStartRecording"></a>
1606 <h4>ViewManager.__macroStartRecording</h4>
1607 <b>__macroStartRecording</b>(<i></i>)
1608 <p>
1609 Private method to handle the start macro recording action.
1610 </p><a NAME="ViewManager.__macroStopRecording" ID="ViewManager.__macroStopRecording"></a>
1611 <h4>ViewManager.__macroStopRecording</h4>
1612 <b>__macroStopRecording</b>(<i></i>)
1613 <p>
1614 Private method to handle the stop macro recording action.
1615 </p><a NAME="ViewManager.__newDocumentSplitView" ID="ViewManager.__newDocumentSplitView"></a>
1616 <h4>ViewManager.__newDocumentSplitView</h4>
1617 <b>__newDocumentSplitView</b>(<i></i>)
1618 <p>
1619 Private method to open a new view of the current editor in a new split.
1620 </p><a NAME="ViewManager.__newDocumentView" ID="ViewManager.__newDocumentView"></a>
1621 <h4>ViewManager.__newDocumentView</h4>
1622 <b>__newDocumentView</b>(<i></i>)
1623 <p>
1624 Private method to open a new view of the current editor.
1625 </p><a NAME="ViewManager.__newLineBelow" ID="ViewManager.__newLineBelow"></a>
1626 <h4>ViewManager.__newLineBelow</h4>
1627 <b>__newLineBelow</b>(<i></i>)
1628 <p>
1629 Private method to insert a new line below the current one even if
1630 cursor is not at the end of the line.
1631 </p><a NAME="ViewManager.__nextBookmark" ID="ViewManager.__nextBookmark"></a>
1632 <h4>ViewManager.__nextBookmark</h4>
1633 <b>__nextBookmark</b>(<i></i>)
1634 <p>
1635 Private method to handle the next bookmark action.
1636 </p><a NAME="ViewManager.__nextChange" ID="ViewManager.__nextChange"></a>
1637 <h4>ViewManager.__nextChange</h4>
1638 <b>__nextChange</b>(<i></i>)
1639 <p>
1640 Private method to handle the next change action.
1641 </p><a NAME="ViewManager.__nextTask" ID="ViewManager.__nextTask"></a>
1642 <h4>ViewManager.__nextTask</h4>
1643 <b>__nextTask</b>(<i></i>)
1644 <p>
1645 Private method to handle the next task action.
1646 </p><a NAME="ViewManager.__nextUncovered" ID="ViewManager.__nextUncovered"></a>
1647 <h4>ViewManager.__nextUncovered</h4>
1648 <b>__nextUncovered</b>(<i></i>)
1649 <p>
1650 Private method to handle the next uncovered action.
1651 </p><a NAME="ViewManager.__nextWarning" ID="ViewManager.__nextWarning"></a>
1652 <h4>ViewManager.__nextWarning</h4>
1653 <b>__nextWarning</b>(<i></i>)
1654 <p>
1655 Private method to handle the next warning action.
1656 </p><a NAME="ViewManager.__openFiles" ID="ViewManager.__openFiles"></a>
1657 <h4>ViewManager.__openFiles</h4>
1658 <b>__openFiles</b>(<i></i>)
1659 <p>
1660 Private slot to open some files.
1661 </p><a NAME="ViewManager.__openSourceFile" ID="ViewManager.__openSourceFile"></a>
1662 <h4>ViewManager.__openSourceFile</h4>
1663 <b>__openSourceFile</b>(<i>act</i>)
1664 <p>
1665 Private method to open a file from the list of recently opened files.
1666 </p><dl>
1667 <dt><i>act</i></dt>
1668 <dd>
1669 reference to the action that triggered (QAction)
1670 </dd>
1671 </dl><a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a>
1672 <h4>ViewManager.__previewEditor</h4>
1673 <b>__previewEditor</b>(<i>checked</i>)
1674 <p>
1675 Private slot to handle a change of the preview selection state.
1676 </p><dl>
1677 <dt><i>checked</i></dt>
1678 <dd>
1679 state of the action (boolean)
1680 </dd>
1681 </dl><a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a>
1682 <h4>ViewManager.__previousBookmark</h4>
1683 <b>__previousBookmark</b>(<i></i>)
1684 <p>
1685 Private method to handle the previous bookmark action.
1686 </p><a NAME="ViewManager.__previousChange" ID="ViewManager.__previousChange"></a>
1687 <h4>ViewManager.__previousChange</h4>
1688 <b>__previousChange</b>(<i></i>)
1689 <p>
1690 Private method to handle the previous change action.
1691 </p><a NAME="ViewManager.__previousTask" ID="ViewManager.__previousTask"></a>
1692 <h4>ViewManager.__previousTask</h4>
1693 <b>__previousTask</b>(<i></i>)
1694 <p>
1695 Private method to handle the previous task action.
1696 </p><a NAME="ViewManager.__previousUncovered" ID="ViewManager.__previousUncovered"></a>
1697 <h4>ViewManager.__previousUncovered</h4>
1698 <b>__previousUncovered</b>(<i></i>)
1699 <p>
1700 Private method to handle the previous uncovered action.
1701 </p><a NAME="ViewManager.__previousWarning" ID="ViewManager.__previousWarning"></a>
1702 <h4>ViewManager.__previousWarning</h4>
1703 <b>__previousWarning</b>(<i></i>)
1704 <p>
1705 Private method to handle the previous warning action.
1706 </p><a NAME="ViewManager.__quickSearch" ID="ViewManager.__quickSearch"></a>
1707 <h4>ViewManager.__quickSearch</h4>
1708 <b>__quickSearch</b>(<i></i>)
1709 <p>
1710 Private slot to handle the incremental quick search.
1711 </p><a NAME="ViewManager.__quickSearchEnter" ID="ViewManager.__quickSearchEnter"></a>
1712 <h4>ViewManager.__quickSearchEnter</h4>
1713 <b>__quickSearchEnter</b>(<i></i>)
1714 <p>
1715 Private slot to handle the incremental quick search return pressed
1716 (jump back to text).
1717 </p><a NAME="ViewManager.__quickSearchEscape" ID="ViewManager.__quickSearchEscape"></a>
1718 <h4>ViewManager.__quickSearchEscape</h4>
1719 <b>__quickSearchEscape</b>(<i></i>)
1720 <p>
1721 Private slot to handle the incremental quick search escape pressed
1722 (jump back to text).
1723 </p><a NAME="ViewManager.__quickSearchExtend" ID="ViewManager.__quickSearchExtend"></a>
1724 <h4>ViewManager.__quickSearchExtend</h4>
1725 <b>__quickSearchExtend</b>(<i></i>)
1726 <p>
1727 Private method to handle the quicksearch extend action.
1728 </p><a NAME="ViewManager.__quickSearchFocusIn" ID="ViewManager.__quickSearchFocusIn"></a>
1729 <h4>ViewManager.__quickSearchFocusIn</h4>
1730 <b>__quickSearchFocusIn</b>(<i></i>)
1731 <p>
1732 Private method to handle a focus in signal of the quicksearch lineedit.
1733 </p><a NAME="ViewManager.__quickSearchInEditor" ID="ViewManager.__quickSearchInEditor"></a>
1734 <h4>ViewManager.__quickSearchInEditor</h4>
1735 <b>__quickSearchInEditor</b>(<i>again, back</i>)
1736 <p>
1737 Private slot to perform a quick search.
1738 </p><dl>
1739 <dt><i>again</i></dt>
1740 <dd>
1741 flag indicating a repeat of the last search (boolean)
1742 </dd><dt><i>back</i></dt>
1743 <dd>
1744 flag indicating a backwards search operation (boolean)
1745 </dd>
1746 </dl><a NAME="ViewManager.__quickSearchMarkOccurrences" ID="ViewManager.__quickSearchMarkOccurrences"></a>
1747 <h4>ViewManager.__quickSearchMarkOccurrences</h4>
1748 <b>__quickSearchMarkOccurrences</b>(<i>txt</i>)
1749 <p>
1750 Private method to mark all occurrences of the search text.
1751 </p><dl>
1752 <dt><i>txt</i></dt>
1753 <dd>
1754 text to search for (string)
1755 </dd>
1756 </dl><a NAME="ViewManager.__quickSearchPrev" ID="ViewManager.__quickSearchPrev"></a>
1757 <h4>ViewManager.__quickSearchPrev</h4>
1758 <b>__quickSearchPrev</b>(<i></i>)
1759 <p>
1760 Private slot to handle the quickFindPrev toolbutton action.
1761 </p><a NAME="ViewManager.__quickSearchSetEditColors" ID="ViewManager.__quickSearchSetEditColors"></a>
1762 <h4>ViewManager.__quickSearchSetEditColors</h4>
1763 <b>__quickSearchSetEditColors</b>(<i>error</i>)
1764 <p>
1765 Private method to set the quick search edit colors.
1766 </p><dl>
1767 <dt><i>error</i></dt>
1768 <dd>
1769 flag indicating an error (boolean)
1770 </dd>
1771 </dl><a NAME="ViewManager.__quickSearchText" ID="ViewManager.__quickSearchText"></a>
1772 <h4>ViewManager.__quickSearchText</h4>
1773 <b>__quickSearchText</b>(<i></i>)
1774 <p>
1775 Private slot to handle the textChanged signal of the quicksearch edit.
1776 </p><a NAME="ViewManager.__replaceFiles" ID="ViewManager.__replaceFiles"></a>
1777 <h4>ViewManager.__replaceFiles</h4>
1778 <b>__replaceFiles</b>(<i></i>)
1779 <p>
1780 Private method to handle the replace in files action.
1781 </p><a NAME="ViewManager.__replaceOpenFiles" ID="ViewManager.__replaceOpenFiles"></a>
1782 <h4>ViewManager.__replaceOpenFiles</h4>
1783 <b>__replaceOpenFiles</b>(<i></i>)
1784 <p>
1785 Private method to handle the replace in open files action.
1786 </p><a NAME="ViewManager.__saveRecent" ID="ViewManager.__saveRecent"></a>
1787 <h4>ViewManager.__saveRecent</h4>
1788 <b>__saveRecent</b>(<i></i>)
1789 <p>
1790 Private method to save the list of recently opened filenames.
1791 </p><a NAME="ViewManager.__searchClearMarkers" ID="ViewManager.__searchClearMarkers"></a>
1792 <h4>ViewManager.__searchClearMarkers</h4>
1793 <b>__searchClearMarkers</b>(<i></i>)
1794 <p>
1795 Private method to clear the search markers of the active window.
1796 </p><a NAME="ViewManager.__searchFiles" ID="ViewManager.__searchFiles"></a>
1797 <h4>ViewManager.__searchFiles</h4>
1798 <b>__searchFiles</b>(<i></i>)
1799 <p>
1800 Private method to handle the search in files action.
1801 </p><a NAME="ViewManager.__searchNext" ID="ViewManager.__searchNext"></a>
1802 <h4>ViewManager.__searchNext</h4>
1803 <b>__searchNext</b>(<i></i>)
1804 <p>
1805 Private slot to handle the search next action.
1806 </p><a NAME="ViewManager.__searchOpenFiles" ID="ViewManager.__searchOpenFiles"></a>
1807 <h4>ViewManager.__searchOpenFiles</h4>
1808 <b>__searchOpenFiles</b>(<i></i>)
1809 <p>
1810 Private method to handle the search in open files action.
1811 </p><a NAME="ViewManager.__searchPrev" ID="ViewManager.__searchPrev"></a>
1812 <h4>ViewManager.__searchPrev</h4>
1813 <b>__searchPrev</b>(<i></i>)
1814 <p>
1815 Private slot to handle the search previous action.
1816 </p><a NAME="ViewManager.__setAutoSpellChecking" ID="ViewManager.__setAutoSpellChecking"></a>
1817 <h4>ViewManager.__setAutoSpellChecking</h4>
1818 <b>__setAutoSpellChecking</b>(<i></i>)
1819 <p>
1820 Private slot to set the automatic spell checking of all editors.
1821 </p><a NAME="ViewManager.__setSbFile" ID="ViewManager.__setSbFile"></a>
1822 <h4>ViewManager.__setSbFile</h4>
1823 <b>__setSbFile</b>(<i>fn=None, line=None, pos=None, encoding=None, language=None, eol=None, zoom=None</i>)
1824 <p>
1825 Private method to set the file info in the status bar.
1826 </p><dl>
1827 <dt><i>fn</i></dt>
1828 <dd>
1829 filename to display (string)
1830 </dd><dt><i>line</i></dt>
1831 <dd>
1832 line number to display (int)
1833 </dd><dt><i>pos</i></dt>
1834 <dd>
1835 character position to display (int)
1836 </dd><dt><i>encoding</i></dt>
1837 <dd>
1838 encoding name to display (string)
1839 </dd><dt><i>language</i></dt>
1840 <dd>
1841 language to display (string)
1842 </dd><dt><i>eol</i></dt>
1843 <dd>
1844 eol indicator to display (string)
1845 </dd><dt><i>zoom</i></dt>
1846 <dd>
1847 zoom value (integer)
1848 </dd>
1849 </dl><a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a>
1850 <h4>ViewManager.__shortenEmptyLines</h4>
1851 <b>__shortenEmptyLines</b>(<i></i>)
1852 <p>
1853 Private method to handle the shorten empty lines action.
1854 </p><a NAME="ViewManager.__showBookmarkMenu" ID="ViewManager.__showBookmarkMenu"></a>
1855 <h4>ViewManager.__showBookmarkMenu</h4>
1856 <b>__showBookmarkMenu</b>(<i></i>)
1857 <p>
1858 Private method to set up the bookmark menu.
1859 </p><a NAME="ViewManager.__showBookmarkedMenu" ID="ViewManager.__showBookmarkedMenu"></a>
1860 <h4>ViewManager.__showBookmarkedMenu</h4>
1861 <b>__showBookmarkedMenu</b>(<i></i>)
1862 <p>
1863 Private method to set up bookmarked files menu.
1864 </p><a NAME="ViewManager.__showBookmarksMenu" ID="ViewManager.__showBookmarksMenu"></a>
1865 <h4>ViewManager.__showBookmarksMenu</h4>
1866 <b>__showBookmarksMenu</b>(<i></i>)
1867 <p>
1868 Private method to handle the show bookmarks menu signal.
1869 </p><a NAME="ViewManager.__showEditSpellingMenu" ID="ViewManager.__showEditSpellingMenu"></a>
1870 <h4>ViewManager.__showEditSpellingMenu</h4>
1871 <b>__showEditSpellingMenu</b>(<i></i>)
1872 <p>
1873 Private method to set up the edit dictionaries menu.
1874 </p><a NAME="ViewManager.__showEncodingsMenu" ID="ViewManager.__showEncodingsMenu"></a>
1875 <h4>ViewManager.__showEncodingsMenu</h4>
1876 <b>__showEncodingsMenu</b>(<i>pos</i>)
1877 <p>
1878 Private slot to show the Encodings menu of the current editor.
1879 </p><dl>
1880 <dt><i>pos</i></dt>
1881 <dd>
1882 position the menu should be shown at (QPoint)
1883 </dd>
1884 </dl><a NAME="ViewManager.__showEolMenu" ID="ViewManager.__showEolMenu"></a>
1885 <h4>ViewManager.__showEolMenu</h4>
1886 <b>__showEolMenu</b>(<i>pos</i>)
1887 <p>
1888 Private slot to show the EOL menu of the current editor.
1889 </p><dl>
1890 <dt><i>pos</i></dt>
1891 <dd>
1892 position the menu should be shown at (QPoint)
1893 </dd>
1894 </dl><a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a>
1895 <h4>ViewManager.__showFileMenu</h4>
1896 <b>__showFileMenu</b>(<i></i>)
1897 <p>
1898 Private method to set up the file menu.
1899 </p><a NAME="ViewManager.__showLanguagesMenu" ID="ViewManager.__showLanguagesMenu"></a>
1900 <h4>ViewManager.__showLanguagesMenu</h4>
1901 <b>__showLanguagesMenu</b>(<i>pos</i>)
1902 <p>
1903 Private slot to show the Languages menu of the current editor.
1904 </p><dl>
1905 <dt><i>pos</i></dt>
1906 <dd>
1907 position the menu should be shown at (QPoint)
1908 </dd>
1909 </dl><a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a>
1910 <h4>ViewManager.__showRecentMenu</h4>
1911 <b>__showRecentMenu</b>(<i></i>)
1912 <p>
1913 Private method to set up recent files menu.
1914 </p><a NAME="ViewManager.__spellCheck" ID="ViewManager.__spellCheck"></a>
1915 <h4>ViewManager.__spellCheck</h4>
1916 <b>__spellCheck</b>(<i></i>)
1917 <p>
1918 Private slot to perform a spell check of the current editor.
1919 </p><a NAME="ViewManager.__splitOrientation" ID="ViewManager.__splitOrientation"></a>
1920 <h4>ViewManager.__splitOrientation</h4>
1921 <b>__splitOrientation</b>(<i>checked</i>)
1922 <p>
1923 Private method to handle the split orientation action.
1924 </p><dl>
1925 <dt><i>checked</i></dt>
1926 <dd>
1927 flag indicating the checked state of the action
1928 (boolean). True means splitting horizontally.
1929 </dd>
1930 </dl><a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a>
1931 <h4>ViewManager.__splitView</h4>
1932 <b>__splitView</b>(<i></i>)
1933 <p>
1934 Private method to handle the split view action.
1935 </p><a NAME="ViewManager.__taskMarkersUpdated" ID="ViewManager.__taskMarkersUpdated"></a>
1936 <h4>ViewManager.__taskMarkersUpdated</h4>
1937 <b>__taskMarkersUpdated</b>(<i>editor</i>)
1938 <p>
1939 Private slot to handle the taskMarkersUpdated signal.
1940 </p><dl>
1941 <dt><i>editor</i></dt>
1942 <dd>
1943 editor that sent the signal
1944 </dd>
1945 </dl><a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a>
1946 <h4>ViewManager.__toggleAll</h4>
1947 <b>__toggleAll</b>(<i></i>)
1948 <p>
1949 Private method to handle the toggle all folds action.
1950 </p><a NAME="ViewManager.__toggleAllChildren" ID="ViewManager.__toggleAllChildren"></a>
1951 <h4>ViewManager.__toggleAllChildren</h4>
1952 <b>__toggleAllChildren</b>(<i></i>)
1953 <p>
1954 Private method to handle the toggle all folds (including children)
1955 action.
1956 </p><a NAME="ViewManager.__toggleBookmark" ID="ViewManager.__toggleBookmark"></a>
1957 <h4>ViewManager.__toggleBookmark</h4>
1958 <b>__toggleBookmark</b>(<i></i>)
1959 <p>
1960 Private method to handle the toggle bookmark action.
1961 </p><a NAME="ViewManager.__toggleCurrent" ID="ViewManager.__toggleCurrent"></a>
1962 <h4>ViewManager.__toggleCurrent</h4>
1963 <b>__toggleCurrent</b>(<i></i>)
1964 <p>
1965 Private method to handle the toggle current fold action.
1966 </p><a NAME="ViewManager.__unhighlight" ID="ViewManager.__unhighlight"></a>
1967 <h4>ViewManager.__unhighlight</h4>
1968 <b>__unhighlight</b>(<i></i>)
1969 <p>
1970 Private slot to switch of all highlights.
1971 </p><a NAME="ViewManager.__zoom" ID="ViewManager.__zoom"></a>
1972 <h4>ViewManager.__zoom</h4>
1973 <b>__zoom</b>(<i></i>)
1974 <p>
1975 Private method to handle the zoom action.
1976 </p><a NAME="ViewManager.__zoomIn" ID="ViewManager.__zoomIn"></a>
1977 <h4>ViewManager.__zoomIn</h4>
1978 <b>__zoomIn</b>(<i></i>)
1979 <p>
1980 Private method to handle the zoom in action.
1981 </p><a NAME="ViewManager.__zoomOut" ID="ViewManager.__zoomOut"></a>
1982 <h4>ViewManager.__zoomOut</h4>
1983 <b>__zoomOut</b>(<i></i>)
1984 <p>
1985 Private method to handle the zoom out action.
1986 </p><a NAME="ViewManager.__zoomReset" ID="ViewManager.__zoomReset"></a>
1987 <h4>ViewManager.__zoomReset</h4>
1988 <b>__zoomReset</b>(<i></i>)
1989 <p>
1990 Private method to reset the zoom factor.
1991 </p><a NAME="ViewManager.__zoomTo" ID="ViewManager.__zoomTo"></a>
1992 <h4>ViewManager.__zoomTo</h4>
1993 <b>__zoomTo</b>(<i>value</i>)
1994 <p>
1995 Private slot to zoom to a given value.
1996 </p><dl>
1997 <dt><i>value</i></dt>
1998 <dd>
1999 zoom value to be set (integer)
2000 </dd>
2001 </dl><a NAME="ViewManager._addView" ID="ViewManager._addView"></a>
2002 <h4>ViewManager._addView</h4>
2003 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>)
2004 <p>
2005 Protected method to add a view (i.e. window).
2006 </p><dl>
2007 <dt><i>win</i> (EditorAssembly)</dt>
2008 <dd>
2009 editor assembly to be added
2010 </dd><dt><i>fn</i> (str)</dt>
2011 <dd>
2012 filename of this editor
2013 </dd><dt><i>noName</i> (str)</dt>
2014 <dd>
2015 name to be used for an unnamed editor
2016 </dd><dt><i>addNext</i> (bool)</dt>
2017 <dd>
2018 flag indicating to add the view next to the current
2019 view
2020 </dd><dt><i>indexes</i> (tuple of two int)</dt>
2021 <dd>
2022 of the editor, first the split view index, second the
2023 index within the view
2024 </dd>
2025 </dl><dl>
2026 <dt>Raises <b>RuntimeError</b>:</dt>
2027 <dd>
2028 Not implemented
2029 </dd>
2030 </dl><a NAME="ViewManager._checkActions" ID="ViewManager._checkActions"></a>
2031 <h4>ViewManager._checkActions</h4>
2032 <b>_checkActions</b>(<i>editor, setSb=True</i>)
2033 <p>
2034 Protected slot to check some actions for their enable/disable status
2035 and set the statusbar info.
2036 </p><dl>
2037 <dt><i>editor</i></dt>
2038 <dd>
2039 editor window
2040 </dd><dt><i>setSb</i></dt>
2041 <dd>
2042 flag indicating an update of the status bar is wanted
2043 (boolean)
2044 </dd>
2045 </dl><a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a>
2046 <h4>ViewManager._getOpenFileFilter</h4>
2047 <b>_getOpenFileFilter</b>(<i></i>)
2048 <p>
2049 Protected method to return the active filename filter for a file open
2050 dialog.
2051 </p><p>
2052 The appropriate filename filter is determined by file extension of
2053 the currently active editor.
2054 </p><dl>
2055 <dt>Returns:</dt>
2056 <dd>
2057 name of the filename filter (string) or None
2058 </dd>
2059 </dl><a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a>
2060 <h4>ViewManager._getOpenStartDir</h4>
2061 <b>_getOpenStartDir</b>(<i></i>)
2062 <p>
2063 Protected method to return the starting directory for a file open
2064 dialog.
2065 </p><p>
2066 The appropriate starting directory is calculated
2067 using the following search order, until a match is found:<br />
2068 1: Directory of currently active editor<br />
2069 2: Directory of currently active Project<br />
2070 3: CWD
2071 </p><dl>
2072 <dt>Returns:</dt>
2073 <dd>
2074 name of directory to start (string)
2075 </dd>
2076 </dl><a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a>
2077 <h4>ViewManager._initWindowActions</h4>
2078 <b>_initWindowActions</b>(<i></i>)
2079 <p>
2080 Protected method to define the user interface actions for window
2081 handling.
2082 </p><dl>
2083 <dt>Raises <b>RuntimeError</b>:</dt>
2084 <dd>
2085 Not implemented
2086 </dd>
2087 </dl><a NAME="ViewManager._modificationStatusChanged" ID="ViewManager._modificationStatusChanged"></a>
2088 <h4>ViewManager._modificationStatusChanged</h4>
2089 <b>_modificationStatusChanged</b>(<i>m, editor</i>)
2090 <p>
2091 Protected slot to handle the modificationStatusChanged signal.
2092 </p><dl>
2093 <dt><i>m</i></dt>
2094 <dd>
2095 flag indicating the modification status (boolean)
2096 </dd><dt><i>editor</i></dt>
2097 <dd>
2098 editor window changed
2099 </dd>
2100 </dl><dl>
2101 <dt>Raises <b>RuntimeError</b>:</dt>
2102 <dd>
2103 Not implemented
2104 </dd>
2105 </dl><a NAME="ViewManager._removeAllViews" ID="ViewManager._removeAllViews"></a>
2106 <h4>ViewManager._removeAllViews</h4>
2107 <b>_removeAllViews</b>(<i></i>)
2108 <p>
2109 Protected method to remove all views (i.e. windows).
2110 </p><dl>
2111 <dt>Raises <b>RuntimeError</b>:</dt>
2112 <dd>
2113 Not implemented
2114 </dd>
2115 </dl><a NAME="ViewManager._removeView" ID="ViewManager._removeView"></a>
2116 <h4>ViewManager._removeView</h4>
2117 <b>_removeView</b>(<i>win</i>)
2118 <p>
2119 Protected method to remove a view (i.e. window).
2120 </p><dl>
2121 <dt><i>win</i></dt>
2122 <dd>
2123 editor window to be removed
2124 </dd>
2125 </dl><dl>
2126 <dt>Raises <b>RuntimeError</b>:</dt>
2127 <dd>
2128 Not implemented
2129 </dd>
2130 </dl><a NAME="ViewManager._showView" ID="ViewManager._showView"></a>
2131 <h4>ViewManager._showView</h4>
2132 <b>_showView</b>(<i>win, fn=None</i>)
2133 <p>
2134 Protected method to show a view (i.e. window).
2135 </p><dl>
2136 <dt><i>win</i></dt>
2137 <dd>
2138 editor assembly to be shown
2139 </dd><dt><i>fn</i></dt>
2140 <dd>
2141 filename of this editor
2142 </dd>
2143 </dl><dl>
2144 <dt>Raises <b>RuntimeError</b>:</dt>
2145 <dd>
2146 Not implemented
2147 </dd>
2148 </dl><a NAME="ViewManager._syntaxErrorToggled" ID="ViewManager._syntaxErrorToggled"></a>
2149 <h4>ViewManager._syntaxErrorToggled</h4>
2150 <b>_syntaxErrorToggled</b>(<i>editor</i>)
2151 <p>
2152 Protected slot to handle the syntaxerrorToggled signal.
2153 </p><p>
2154 It checks some syntax error actions and reemits the signal.
2155 </p><dl>
2156 <dt><i>editor</i></dt>
2157 <dd>
2158 editor that sent the signal
2159 </dd>
2160 </dl><a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a>
2161 <h4>ViewManager.activeWindow</h4>
2162 <b>activeWindow</b>(<i></i>)
2163 <p>
2164 Public method to return the active (i.e. current) window.
2165 </p><dl>
2166 <dt>Returns:</dt>
2167 <dd>
2168 reference to the active editor
2169 </dd>
2170 </dl><dl>
2171 <dt>Raises <b>RuntimeError</b>:</dt>
2172 <dd>
2173 Not implemented
2174 </dd>
2175 </dl><a NAME="ViewManager.addSplit" ID="ViewManager.addSplit"></a>
2176 <h4>ViewManager.addSplit</h4>
2177 <b>addSplit</b>(<i></i>)
2178 <p>
2179 Public method used to split the current view.
2180 </p><a NAME="ViewManager.addToExtrasMenu" ID="ViewManager.addToExtrasMenu"></a>
2181 <h4>ViewManager.addToExtrasMenu</h4>
2182 <b>addToExtrasMenu</b>(<i>menu</i>)
2183 <p>
2184 Public method to add some actions to the extras menu.
2185 </p><dl>
2186 <dt><i>menu</i></dt>
2187 <dd>
2188 reference to the menu to add actions to (QMenu)
2189 </dd>
2190 </dl><a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a>
2191 <h4>ViewManager.addToRecentList</h4>
2192 <b>addToRecentList</b>(<i>fn</i>)
2193 <p>
2194 Public slot to add a filename to the list of recently opened files.
2195 </p><dl>
2196 <dt><i>fn</i></dt>
2197 <dd>
2198 name of the file to be added
2199 </dd>
2200 </dl><a NAME="ViewManager.appFocusChanged" ID="ViewManager.appFocusChanged"></a>
2201 <h4>ViewManager.appFocusChanged</h4>
2202 <b>appFocusChanged</b>(<i>old, now</i>)
2203 <p>
2204 Public method to handle the global change of focus.
2205 </p><dl>
2206 <dt><i>old</i></dt>
2207 <dd>
2208 reference to the widget loosing focus (QWidget)
2209 </dd><dt><i>now</i></dt>
2210 <dd>
2211 reference to the widget gaining focus (QWidget)
2212 </dd>
2213 </dl><a NAME="ViewManager.canCascade" ID="ViewManager.canCascade"></a>
2214 <h4>ViewManager.canCascade</h4>
2215 <b>canCascade</b>(<i></i>)
2216 <p>
2217 Public method to signal if cascading of managed windows is available.
2218 </p><dl>
2219 <dt>Returns:</dt>
2220 <dd>
2221 flag indicating cascading of windows is available
2222 </dd>
2223 </dl><dl>
2224 <dt>Raises <b>RuntimeError</b>:</dt>
2225 <dd>
2226 Not implemented
2227 </dd>
2228 </dl><a NAME="ViewManager.canSplit" ID="ViewManager.canSplit"></a>
2229 <h4>ViewManager.canSplit</h4>
2230 <b>canSplit</b>(<i></i>)
2231 <p>
2232 Public method to signal if splitting of the view is available.
2233 </p><dl>
2234 <dt>Returns:</dt>
2235 <dd>
2236 flag indicating splitting of the view is available.
2237 </dd>
2238 </dl><a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a>
2239 <h4>ViewManager.canTile</h4>
2240 <b>canTile</b>(<i></i>)
2241 <p>
2242 Public method to signal if tiling of managed windows is available.
2243 </p><dl>
2244 <dt>Returns:</dt>
2245 <dd>
2246 flag indicating tiling of windows is available
2247 </dd>
2248 </dl><dl>
2249 <dt>Raises <b>RuntimeError</b>:</dt>
2250 <dd>
2251 Not implemented
2252 </dd>
2253 </dl><a NAME="ViewManager.cancelSharedEdit" ID="ViewManager.cancelSharedEdit"></a>
2254 <h4>ViewManager.cancelSharedEdit</h4>
2255 <b>cancelSharedEdit</b>(<i></i>)
2256 <p>
2257 Public slot to cancel a shared edit session for the current editor.
2258 </p><a NAME="ViewManager.cascade" ID="ViewManager.cascade"></a>
2259 <h4>ViewManager.cascade</h4>
2260 <b>cascade</b>(<i></i>)
2261 <p>
2262 Public method to cascade the managed windows.
2263 </p><dl>
2264 <dt>Raises <b>RuntimeError</b>:</dt>
2265 <dd>
2266 Not implemented
2267 </dd>
2268 </dl><a NAME="ViewManager.checkAllDirty" ID="ViewManager.checkAllDirty"></a>
2269 <h4>ViewManager.checkAllDirty</h4>
2270 <b>checkAllDirty</b>(<i></i>)
2271 <p>
2272 Public method to check the dirty status of all editors.
2273 </p><dl>
2274 <dt>Returns:</dt>
2275 <dd>
2276 flag indicating successful reset of all dirty flags
2277 </dd>
2278 </dl><dl>
2279 <dt>Return Type:</dt>
2280 <dd>
2281 bool
2282 </dd>
2283 </dl><a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a>
2284 <h4>ViewManager.checkDirty</h4>
2285 <b>checkDirty</b>(<i>editor, autosave=False</i>)
2286 <p>
2287 Public method to check the dirty status and open a message window.
2288 </p><dl>
2289 <dt><i>editor</i> (Editor)</dt>
2290 <dd>
2291 editor window to check
2292 </dd><dt><i>autosave</i> (bool)</dt>
2293 <dd>
2294 flag indicating that the file should be saved
2295 automatically
2296 </dd>
2297 </dl><dl>
2298 <dt>Returns:</dt>
2299 <dd>
2300 flag indicating successful reset of the dirty flag
2301 </dd>
2302 </dl><dl>
2303 <dt>Return Type:</dt>
2304 <dd>
2305 bool
2306 </dd>
2307 </dl><a NAME="ViewManager.checkFileDirty" ID="ViewManager.checkFileDirty"></a>
2308 <h4>ViewManager.checkFileDirty</h4>
2309 <b>checkFileDirty</b>(<i>fn</i>)
2310 <p>
2311 Public method to check the dirty status of an editor given its file
2312 name and open a message window.
2313 </p><dl>
2314 <dt><i>fn</i> (str)</dt>
2315 <dd>
2316 file name of editor to be checked
2317 </dd>
2318 </dl><dl>
2319 <dt>Returns:</dt>
2320 <dd>
2321 flag indicating successful reset of the dirty flag
2322 </dd>
2323 </dl><dl>
2324 <dt>Return Type:</dt>
2325 <dd>
2326 bool
2327 </dd>
2328 </dl><a NAME="ViewManager.clearRecent" ID="ViewManager.clearRecent"></a>
2329 <h4>ViewManager.clearRecent</h4>
2330 <b>clearRecent</b>(<i></i>)
2331 <p>
2332 Public method to clear the recent files menu.
2333 </p><a NAME="ViewManager.cloneEditor" ID="ViewManager.cloneEditor"></a>
2334 <h4>ViewManager.cloneEditor</h4>
2335 <b>cloneEditor</b>(<i>caller, filetype, fn</i>)
2336 <p>
2337 Public method to clone an editor displaying the given document.
2338 </p><dl>
2339 <dt><i>caller</i></dt>
2340 <dd>
2341 reference to the editor calling this method
2342 </dd><dt><i>filetype</i></dt>
2343 <dd>
2344 type of the source file (string)
2345 </dd><dt><i>fn</i></dt>
2346 <dd>
2347 filename of this view
2348 </dd>
2349 </dl><dl>
2350 <dt>Returns:</dt>
2351 <dd>
2352 reference to the new editor object (Editor.Editor) and the new
2353 editor assembly object (EditorAssembly.EditorAssembly)
2354 </dd>
2355 </dl><a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a>
2356 <h4>ViewManager.closeAllWindows</h4>
2357 <b>closeAllWindows</b>(<i></i>)
2358 <p>
2359 Public method to close all editor windows via file menu.
2360 </p><a NAME="ViewManager.closeCurrentWindow" ID="ViewManager.closeCurrentWindow"></a>
2361 <h4>ViewManager.closeCurrentWindow</h4>
2362 <b>closeCurrentWindow</b>(<i></i>)
2363 <p>
2364 Public method to close the current window.
2365 </p><dl>
2366 <dt>Returns:</dt>
2367 <dd>
2368 flag indicating success (boolean)
2369 </dd>
2370 </dl><a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a>
2371 <h4>ViewManager.closeEditor</h4>
2372 <b>closeEditor</b>(<i>editor, ignoreDirty=False</i>)
2373 <p>
2374 Public method to close an editor window.
2375 </p><dl>
2376 <dt><i>editor</i> (Editor)</dt>
2377 <dd>
2378 editor window to be closed
2379 </dd><dt><i>ignoreDirty</i> (bool)</dt>
2380 <dd>
2381 flag indicating to ignore the 'dirty' status
2382 </dd>
2383 </dl><dl>
2384 <dt>Returns:</dt>
2385 <dd>
2386 flag indicating success
2387 </dd>
2388 </dl><dl>
2389 <dt>Return Type:</dt>
2390 <dd>
2391 bool
2392 </dd>
2393 </dl><a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a>
2394 <h4>ViewManager.closeEditorWindow</h4>
2395 <b>closeEditorWindow</b>(<i>editor</i>)
2396 <p>
2397 Public method to close an arbitrary source editor.
2398 </p><dl>
2399 <dt><i>editor</i></dt>
2400 <dd>
2401 editor to be closed
2402 </dd>
2403 </dl><a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a>
2404 <h4>ViewManager.closeViewManager</h4>
2405 <b>closeViewManager</b>(<i></i>)
2406 <p>
2407 Public method to shutdown the viewmanager.
2408 </p><p>
2409 If it cannot close all editor windows, it aborts the shutdown process.
2410 </p><dl>
2411 <dt>Returns:</dt>
2412 <dd>
2413 flag indicating success (boolean)
2414 </dd>
2415 </dl><a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a>
2416 <h4>ViewManager.closeWindow</h4>
2417 <b>closeWindow</b>(<i>fn, ignoreDirty=False</i>)
2418 <p>
2419 Public method to close an arbitrary source editor.
2420 </p><dl>
2421 <dt><i>fn</i> (str)</dt>
2422 <dd>
2423 file name of the editor to be closed
2424 </dd><dt><i>ignoreDirty</i> (bool)</dt>
2425 <dd>
2426 flag indicating to ignore the 'dirty' status
2427 </dd>
2428 </dl><dl>
2429 <dt>Returns:</dt>
2430 <dd>
2431 flag indicating success
2432 </dd>
2433 </dl><dl>
2434 <dt>Return Type:</dt>
2435 <dd>
2436 bool
2437 </dd>
2438 </dl><a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a>
2439 <h4>ViewManager.editorsCheckFocusInEnabled</h4>
2440 <b>editorsCheckFocusInEnabled</b>(<i></i>)
2441 <p>
2442 Public method returning the flag indicating editors should perform
2443 focus in checks.
2444 </p><dl>
2445 <dt>Returns:</dt>
2446 <dd>
2447 flag indicating focus in checks should be performed (boolean)
2448 </dd>
2449 </dl><a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a>
2450 <h4>ViewManager.enableEditorsCheckFocusIn</h4>
2451 <b>enableEditorsCheckFocusIn</b>(<i>enabled</i>)
2452 <p>
2453 Public method to set a flag enabling the editors to perform focus in
2454 checks.
2455 </p><dl>
2456 <dt><i>enabled</i></dt>
2457 <dd>
2458 flag indicating focus in checks should be performed
2459 (boolean)
2460 </dd>
2461 </dl><a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a>
2462 <h4>ViewManager.eventFilter</h4>
2463 <b>eventFilter</b>(<i>qobject, event</i>)
2464 <p>
2465 Public method called to filter an event.
2466 </p><dl>
2467 <dt><i>qobject</i></dt>
2468 <dd>
2469 object, that generated the event (QObject)
2470 </dd><dt><i>event</i></dt>
2471 <dd>
2472 the event, that was generated by object (QEvent)
2473 </dd>
2474 </dl><dl>
2475 <dt>Returns:</dt>
2476 <dd>
2477 flag indicating if event was filtered out
2478 </dd>
2479 </dl><a NAME="ViewManager.exit" ID="ViewManager.exit"></a>
2480 <h4>ViewManager.exit</h4>
2481 <b>exit</b>(<i></i>)
2482 <p>
2483 Public method to handle the debugged program terminating.
2484 </p><a NAME="ViewManager.getAPIsManager" ID="ViewManager.getAPIsManager"></a>
2485 <h4>ViewManager.getAPIsManager</h4>
2486 <b>getAPIsManager</b>(<i></i>)
2487 <p>
2488 Public method to get a reference to the APIs manager.
2489 </p><dl>
2490 <dt>Returns:</dt>
2491 <dd>
2492 the APIs manager object (eric6.QScintilla.APIsManager)
2493 </dd>
2494 </dl><a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a>
2495 <h4>ViewManager.getActions</h4>
2496 <b>getActions</b>(<i>actionSetType</i>)
2497 <p>
2498 Public method to get a list of all actions.
2499 </p><dl>
2500 <dt><i>actionSetType</i></dt>
2501 <dd>
2502 string denoting the action set to get.
2503 It must be one of "edit", "file", "search", "view", "window",
2504 "macro", "bookmark" or "spelling".
2505 </dd>
2506 </dl><dl>
2507 <dt>Returns:</dt>
2508 <dd>
2509 list of all actions (list of E5Action)
2510 </dd>
2511 </dl><a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a>
2512 <h4>ViewManager.getActiveName</h4>
2513 <b>getActiveName</b>(<i></i>)
2514 <p>
2515 Public method to retrieve the filename of the active window.
2516 </p><dl>
2517 <dt>Returns:</dt>
2518 <dd>
2519 filename of active window (string)
2520 </dd>
2521 </dl><a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a>
2522 <h4>ViewManager.getEditor</h4>
2523 <b>getEditor</b>(<i>fn, filetype="", addNext=False, indexes=None</i>)
2524 <p>
2525 Public method to return the editor displaying the given file.
2526 </p><p>
2527 If there is no editor with the given file, a new editor window is
2528 created.
2529 </p><dl>
2530 <dt><i>fn</i> (str)</dt>
2531 <dd>
2532 filename to look for
2533 </dd><dt><i>filetype</i> (str)</dt>
2534 <dd>
2535 type of the source file
2536 </dd><dt><i>addNext</i> (bool)</dt>
2537 <dd>
2538 flag indicating that if a new editor needs to be
2539 created, it should be added next to the current editor
2540 </dd><dt><i>indexes</i> (tuple of two int)</dt>
2541 <dd>
2542 of the editor, first the split view index, second the
2543 index within the view
2544 </dd>
2545 </dl><dl>
2546 <dt>Returns:</dt>
2547 <dd>
2548 tuple of two values giving a flag indicating a new window
2549 creation and a reference to the editor displaying this file
2550 </dd>
2551 </dl><dl>
2552 <dt>Return Type:</dt>
2553 <dd>
2554 tuple of (bool, Editor)
2555 </dd>
2556 </dl><a NAME="ViewManager.getMostRecent" ID="ViewManager.getMostRecent"></a>
2557 <h4>ViewManager.getMostRecent</h4>
2558 <b>getMostRecent</b>(<i></i>)
2559 <p>
2560 Public method to get the most recently opened file.
2561 </p><dl>
2562 <dt>Returns:</dt>
2563 <dd>
2564 path of the most recently opened file (string)
2565 </dd>
2566 </dl><a NAME="ViewManager.getNumber" ID="ViewManager.getNumber"></a>
2567 <h4>ViewManager.getNumber</h4>
2568 <b>getNumber</b>(<i></i>)
2569 <p>
2570 Public method to get a number from the active window.
2571 </p><dl>
2572 <dt>Returns:</dt>
2573 <dd>
2574 selected text of the active window (string)
2575 </dd>
2576 </dl><a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a>
2577 <h4>ViewManager.getOpenEditor</h4>
2578 <b>getOpenEditor</b>(<i>fn</i>)
2579 <p>
2580 Public method to return the editor displaying the given file.
2581 </p><dl>
2582 <dt><i>fn</i></dt>
2583 <dd>
2584 filename to look for
2585 </dd>
2586 </dl><dl>
2587 <dt>Returns:</dt>
2588 <dd>
2589 a reference to the editor displaying this file or None, if
2590 no editor was found
2591 </dd>
2592 </dl><a NAME="ViewManager.getOpenEditorCount" ID="ViewManager.getOpenEditorCount"></a>
2593 <h4>ViewManager.getOpenEditorCount</h4>
2594 <b>getOpenEditorCount</b>(<i>fn</i>)
2595 <p>
2596 Public method to return the count of editors displaying the given file.
2597 </p><dl>
2598 <dt><i>fn</i></dt>
2599 <dd>
2600 filename to look for
2601 </dd>
2602 </dl><dl>
2603 <dt>Returns:</dt>
2604 <dd>
2605 count of editors displaying this file (integer)
2606 </dd>
2607 </dl><a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a>
2608 <h4>ViewManager.getOpenEditors</h4>
2609 <b>getOpenEditors</b>(<i></i>)
2610 <p>
2611 Public method to get references to all open editors.
2612 </p><dl>
2613 <dt>Returns:</dt>
2614 <dd>
2615 list of references to all open editors (list of
2616 QScintilla.editor)
2617 </dd>
2618 </dl><a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a>
2619 <h4>ViewManager.getOpenEditorsCount</h4>
2620 <b>getOpenEditorsCount</b>(<i></i>)
2621 <p>
2622 Public method to get the number of open editors.
2623 </p><dl>
2624 <dt>Returns:</dt>
2625 <dd>
2626 number of open editors (integer)
2627 </dd>
2628 </dl><a NAME="ViewManager.getOpenEditorsForSession" ID="ViewManager.getOpenEditorsForSession"></a>
2629 <h4>ViewManager.getOpenEditorsForSession</h4>
2630 <b>getOpenEditorsForSession</b>(<i></i>)
2631 <p>
2632 Public method to get a lists of all open editors.
2633 </p><p>
2634 The returned list contains one list per split view. If the view manager
2635 cannot split the view, only one list of editors is returned.
2636 </p><p>
2637 Note: This method should be implemented by subclasses.
2638 </p><dl>
2639 <dt>Returns:</dt>
2640 <dd>
2641 list of list of editor references
2642 </dd>
2643 </dl><dl>
2644 <dt>Return Type:</dt>
2645 <dd>
2646 list of list of Editor
2647 </dd>
2648 </dl><a NAME="ViewManager.getOpenFilenames" ID="ViewManager.getOpenFilenames"></a>
2649 <h4>ViewManager.getOpenFilenames</h4>
2650 <b>getOpenFilenames</b>(<i></i>)
2651 <p>
2652 Public method returning a list of the filenames of all editors.
2653 </p><dl>
2654 <dt>Returns:</dt>
2655 <dd>
2656 list of all opened filenames (list of strings)
2657 </dd>
2658 </dl><a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a>
2659 <h4>ViewManager.getSRHistory</h4>
2660 <b>getSRHistory</b>(<i>key</i>)
2661 <p>
2662 Public method to get the search or replace history list.
2663 </p><dl>
2664 <dt><i>key</i></dt>
2665 <dd>
2666 list to return (must be 'search' or 'replace')
2667 </dd>
2668 </dl><dl>
2669 <dt>Returns:</dt>
2670 <dd>
2671 the requested history list (list of strings)
2672 </dd>
2673 </dl><a NAME="ViewManager.getSplitOrientation" ID="ViewManager.getSplitOrientation"></a>
2674 <h4>ViewManager.getSplitOrientation</h4>
2675 <b>getSplitOrientation</b>(<i></i>)
2676 <p>
2677 Public method to get the orientation of the split view.
2678 </p><dl>
2679 <dt>Returns:</dt>
2680 <dd>
2681 orientation of the split (Qt.Horizontal or Qt.Vertical)
2682 </dd>
2683 </dl><a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a>
2684 <h4>ViewManager.handleResetUI</h4>
2685 <b>handleResetUI</b>(<i></i>)
2686 <p>
2687 Public slot to handle the resetUI signal.
2688 </p><a NAME="ViewManager.initActions" ID="ViewManager.initActions"></a>
2689 <h4>ViewManager.initActions</h4>
2690 <b>initActions</b>(<i></i>)
2691 <p>
2692 Public method defining the user interface actions.
2693 </p><a NAME="ViewManager.initBookmarkMenu" ID="ViewManager.initBookmarkMenu"></a>
2694 <h4>ViewManager.initBookmarkMenu</h4>
2695 <b>initBookmarkMenu</b>(<i></i>)
2696 <p>
2697 Public method to create the Bookmark menu.
2698 </p><dl>
2699 <dt>Returns:</dt>
2700 <dd>
2701 the generated menu
2702 </dd>
2703 </dl><a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a>
2704 <h4>ViewManager.initBookmarkToolbar</h4>
2705 <b>initBookmarkToolbar</b>(<i>toolbarManager</i>)
2706 <p>
2707 Public method to create the Bookmark toolbar.
2708 </p><dl>
2709 <dt><i>toolbarManager</i></dt>
2710 <dd>
2711 reference to a toolbar manager object
2712 (E5ToolBarManager)
2713 </dd>
2714 </dl><dl>
2715 <dt>Returns:</dt>
2716 <dd>
2717 the generated toolbar
2718 </dd>
2719 </dl><a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a>
2720 <h4>ViewManager.initEditMenu</h4>
2721 <b>initEditMenu</b>(<i></i>)
2722 <p>
2723 Public method to create the Edit menu.
2724 </p><dl>
2725 <dt>Returns:</dt>
2726 <dd>
2727 the generated menu
2728 </dd>
2729 </dl><a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a>
2730 <h4>ViewManager.initEditToolbar</h4>
2731 <b>initEditToolbar</b>(<i>toolbarManager</i>)
2732 <p>
2733 Public method to create the Edit toolbar.
2734 </p><dl>
2735 <dt><i>toolbarManager</i></dt>
2736 <dd>
2737 reference to a toolbar manager object
2738 (E5ToolBarManager)
2739 </dd>
2740 </dl><dl>
2741 <dt>Returns:</dt>
2742 <dd>
2743 the generated toolbar
2744 </dd>
2745 </dl><a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a>
2746 <h4>ViewManager.initFileMenu</h4>
2747 <b>initFileMenu</b>(<i></i>)
2748 <p>
2749 Public method to create the File menu.
2750 </p><dl>
2751 <dt>Returns:</dt>
2752 <dd>
2753 the generated menu
2754 </dd>
2755 </dl><a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a>
2756 <h4>ViewManager.initFileToolbar</h4>
2757 <b>initFileToolbar</b>(<i>toolbarManager</i>)
2758 <p>
2759 Public method to create the File toolbar.
2760 </p><dl>
2761 <dt><i>toolbarManager</i></dt>
2762 <dd>
2763 reference to a toolbar manager object
2764 (E5ToolBarManager)
2765 </dd>
2766 </dl><dl>
2767 <dt>Returns:</dt>
2768 <dd>
2769 the generated toolbar
2770 </dd>
2771 </dl><a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a>
2772 <h4>ViewManager.initMacroMenu</h4>
2773 <b>initMacroMenu</b>(<i></i>)
2774 <p>
2775 Public method to create the Macro menu.
2776 </p><dl>
2777 <dt>Returns:</dt>
2778 <dd>
2779 the generated menu
2780 </dd>
2781 </dl><a NAME="ViewManager.initSearchToolbars" ID="ViewManager.initSearchToolbars"></a>
2782 <h4>ViewManager.initSearchToolbars</h4>
2783 <b>initSearchToolbars</b>(<i>toolbarManager</i>)
2784 <p>
2785 Public method to create the Search toolbars.
2786 </p><dl>
2787 <dt><i>toolbarManager</i></dt>
2788 <dd>
2789 reference to a toolbar manager object
2790 (E5ToolBarManager)
2791 </dd>
2792 </dl><dl>
2793 <dt>Returns:</dt>
2794 <dd>
2795 a tuple of the generated toolbar (search, quicksearch)
2796 </dd>
2797 </dl><a NAME="ViewManager.initSpellingToolbar" ID="ViewManager.initSpellingToolbar"></a>
2798 <h4>ViewManager.initSpellingToolbar</h4>
2799 <b>initSpellingToolbar</b>(<i>toolbarManager</i>)
2800 <p>
2801 Public method to create the Spelling toolbar.
2802 </p><dl>
2803 <dt><i>toolbarManager</i></dt>
2804 <dd>
2805 reference to a toolbar manager object
2806 (E5ToolBarManager)
2807 </dd>
2808 </dl><dl>
2809 <dt>Returns:</dt>
2810 <dd>
2811 the generated toolbar
2812 </dd>
2813 </dl><a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a>
2814 <h4>ViewManager.initViewMenu</h4>
2815 <b>initViewMenu</b>(<i></i>)
2816 <p>
2817 Public method to create the View menu.
2818 </p><dl>
2819 <dt>Returns:</dt>
2820 <dd>
2821 the generated menu
2822 </dd>
2823 </dl><a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a>
2824 <h4>ViewManager.initViewToolbar</h4>
2825 <b>initViewToolbar</b>(<i>toolbarManager</i>)
2826 <p>
2827 Public method to create the View toolbar.
2828 </p><dl>
2829 <dt><i>toolbarManager</i></dt>
2830 <dd>
2831 reference to a toolbar manager object
2832 (E5ToolBarManager)
2833 </dd>
2834 </dl><dl>
2835 <dt>Returns:</dt>
2836 <dd>
2837 the generated toolbar
2838 </dd>
2839 </dl><a NAME="ViewManager.insertNumber" ID="ViewManager.insertNumber"></a>
2840 <h4>ViewManager.insertNumber</h4>
2841 <b>insertNumber</b>(<i>txt</i>)
2842 <p>
2843 Public slot to insert a number text into the active window.
2844 </p><dl>
2845 <dt><i>txt</i></dt>
2846 <dd>
2847 text to be inserted (string)
2848 </dd>
2849 </dl><a NAME="ViewManager.insertSymbol" ID="ViewManager.insertSymbol"></a>
2850 <h4>ViewManager.insertSymbol</h4>
2851 <b>insertSymbol</b>(<i>txt</i>)
2852 <p>
2853 Public slot to insert a symbol text into the active window.
2854 </p><dl>
2855 <dt><i>txt</i></dt>
2856 <dd>
2857 text to be inserted (string)
2858 </dd>
2859 </dl><a NAME="ViewManager.isConnected" ID="ViewManager.isConnected"></a>
2860 <h4>ViewManager.isConnected</h4>
2861 <b>isConnected</b>(<i></i>)
2862 <p>
2863 Public method to check the connection status of the IDE.
2864 </p><dl>
2865 <dt>Returns:</dt>
2866 <dd>
2867 flag indicating the connection status (boolean)
2868 </dd>
2869 </dl><a NAME="ViewManager.isEditorInfoSupported" ID="ViewManager.isEditorInfoSupported"></a>
2870 <h4>ViewManager.isEditorInfoSupported</h4>
2871 <b>isEditorInfoSupported</b>(<i>language</i>)
2872 <p>
2873 Public method to check, if a language is supported by the
2874 documentation viewer.
2875 </p><dl>
2876 <dt><i>language</i> (str)</dt>
2877 <dd>
2878 editor programming language to check
2879 </dd>
2880 </dl><dl>
2881 <dt>Returns:</dt>
2882 <dd>
2883 flag indicating the support status
2884 </dd>
2885 </dl><dl>
2886 <dt>Return Type:</dt>
2887 <dd>
2888 bool
2889 </dd>
2890 </dl><a NAME="ViewManager.mainWidget" ID="ViewManager.mainWidget"></a>
2891 <h4>ViewManager.mainWidget</h4>
2892 <b>mainWidget</b>(<i></i>)
2893 <p>
2894 Public method to return a reference to the main Widget of a
2895 specific view manager subclass.
2896 </p><dl>
2897 <dt>Raises <b>RuntimeError</b>:</dt>
2898 <dd>
2899 Not implemented
2900 </dd>
2901 </dl><a NAME="ViewManager.newEditor" ID="ViewManager.newEditor"></a>
2902 <h4>ViewManager.newEditor</h4>
2903 <b>newEditor</b>(<i></i>)
2904 <p>
2905 Public slot to generate a new empty editor.
2906 </p><a NAME="ViewManager.newEditorView" ID="ViewManager.newEditorView"></a>
2907 <h4>ViewManager.newEditorView</h4>
2908 <b>newEditorView</b>(<i>fn, caller, filetype="", indexes=None</i>)
2909 <p>
2910 Public method to create a new editor displaying the given document.
2911 </p><dl>
2912 <dt><i>fn</i> (str)</dt>
2913 <dd>
2914 filename of this view
2915 </dd><dt><i>caller</i> (Editor)</dt>
2916 <dd>
2917 reference to the editor calling this method
2918 </dd><dt><i>filetype</i> (str)</dt>
2919 <dd>
2920 type of the source file
2921 </dd><dt><i>indexes</i> (tuple of two int)</dt>
2922 <dd>
2923 of the editor, first the split view index, second the
2924 index within the view
2925 </dd>
2926 </dl><dl>
2927 <dt>Returns:</dt>
2928 <dd>
2929 reference to the new editor object
2930 </dd>
2931 </dl><dl>
2932 <dt>Return Type:</dt>
2933 <dd>
2934 Editor
2935 </dd>
2936 </dl><a NAME="ViewManager.nextSplit" ID="ViewManager.nextSplit"></a>
2937 <h4>ViewManager.nextSplit</h4>
2938 <b>nextSplit</b>(<i></i>)
2939 <p>
2940 Public slot used to move to the next split.
2941 </p><a NAME="ViewManager.openFiles" ID="ViewManager.openFiles"></a>
2942 <h4>ViewManager.openFiles</h4>
2943 <b>openFiles</b>(<i>prog</i>)
2944 <p>
2945 Public slot to open some files.
2946 </p><dl>
2947 <dt><i>prog</i></dt>
2948 <dd>
2949 name of file to be opened (string)
2950 </dd>
2951 </dl><a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a>
2952 <h4>ViewManager.openSourceFile</h4>
2953 <b>openSourceFile</b>(<i>fn, lineno=-1, filetype="", selStart=0, selEnd=0, pos=0, addNext=False, indexes=None</i>)
2954 <p>
2955 Public slot to display a file in an editor.
2956 </p><dl>
2957 <dt><i>fn</i> (str)</dt>
2958 <dd>
2959 name of file to be opened
2960 </dd><dt><i>lineno</i> (int or list of int)</dt>
2961 <dd>
2962 line number to place the cursor at or list of line
2963 numbers (cursor will be placed at the next line greater than
2964 the current one)
2965 </dd><dt><i>filetype</i> (str)</dt>
2966 <dd>
2967 type of the source file
2968 </dd><dt><i>selStart</i> (int)</dt>
2969 <dd>
2970 start of an area to be selected
2971 </dd><dt><i>selEnd</i> (int)</dt>
2972 <dd>
2973 end of an area to be selected
2974 </dd><dt><i>pos</i> (int)</dt>
2975 <dd>
2976 position within the line to place the cursor at
2977 </dd><dt><i>addNext</i> (bool)</dt>
2978 <dd>
2979 flag indicating to add the file next to the current
2980 editor
2981 </dd><dt><i>indexes</i> (tuple of two int)</dt>
2982 <dd>
2983 of the editor, first the split view index, second the
2984 index within the view
2985 </dd>
2986 </dl><dl>
2987 <dt>Returns:</dt>
2988 <dd>
2989 reference to the opened editor
2990 </dd>
2991 </dl><dl>
2992 <dt>Return Type:</dt>
2993 <dd>
2994 Editor
2995 </dd>
2996 </dl><a NAME="ViewManager.preferencesChanged" ID="ViewManager.preferencesChanged"></a>
2997 <h4>ViewManager.preferencesChanged</h4>
2998 <b>preferencesChanged</b>(<i></i>)
2999 <p>
3000 Public slot to handle the preferencesChanged signal.
3001 </p><p>
3002 This method performs the following actions
3003 <ul>
3004 <li>reread the colours for the syntax highlighting</li>
3005 <li>reloads the already created API objetcs</li>
3006 <li>starts or stops the autosave timer</li>
3007 <li><b>Note</b>: changes in viewmanager type are activated
3008 on an application restart.</li>
3009 </ul>
3010 </p><a NAME="ViewManager.prevSplit" ID="ViewManager.prevSplit"></a>
3011 <h4>ViewManager.prevSplit</h4>
3012 <b>prevSplit</b>(<i></i>)
3013 <p>
3014 Public slot used to move to the previous split.
3015 </p><a NAME="ViewManager.printCurrentEditor" ID="ViewManager.printCurrentEditor"></a>
3016 <h4>ViewManager.printCurrentEditor</h4>
3017 <b>printCurrentEditor</b>(<i></i>)
3018 <p>
3019 Public slot to print the contents of the current editor.
3020 </p><a NAME="ViewManager.printEditor" ID="ViewManager.printEditor"></a>
3021 <h4>ViewManager.printEditor</h4>
3022 <b>printEditor</b>(<i>editor</i>)
3023 <p>
3024 Public slot to print an editor.
3025 </p><dl>
3026 <dt><i>editor</i></dt>
3027 <dd>
3028 editor to be printed
3029 </dd>
3030 </dl><a NAME="ViewManager.printPreviewCurrentEditor" ID="ViewManager.printPreviewCurrentEditor"></a>
3031 <h4>ViewManager.printPreviewCurrentEditor</h4>
3032 <b>printPreviewCurrentEditor</b>(<i></i>)
3033 <p>
3034 Public slot to show a print preview of the current editor.
3035 </p><a NAME="ViewManager.projectClosed" ID="ViewManager.projectClosed"></a>
3036 <h4>ViewManager.projectClosed</h4>
3037 <b>projectClosed</b>(<i></i>)
3038 <p>
3039 Public slot to handle the projectClosed signal.
3040 </p><a NAME="ViewManager.projectFileRenamed" ID="ViewManager.projectFileRenamed"></a>
3041 <h4>ViewManager.projectFileRenamed</h4>
3042 <b>projectFileRenamed</b>(<i>oldfn, newfn</i>)
3043 <p>
3044 Public slot to handle the projectFileRenamed signal.
3045 </p><dl>
3046 <dt><i>oldfn</i></dt>
3047 <dd>
3048 old filename of the file (string)
3049 </dd><dt><i>newfn</i></dt>
3050 <dd>
3051 new filename of the file (string)
3052 </dd>
3053 </dl><a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a>
3054 <h4>ViewManager.projectLexerAssociationsChanged</h4>
3055 <b>projectLexerAssociationsChanged</b>(<i></i>)
3056 <p>
3057 Public slot to handle changes of the project lexer associations.
3058 </p><a NAME="ViewManager.projectOpened" ID="ViewManager.projectOpened"></a>
3059 <h4>ViewManager.projectOpened</h4>
3060 <b>projectOpened</b>(<i></i>)
3061 <p>
3062 Public slot to handle the projectOpened signal.
3063 </p><a NAME="ViewManager.receive" ID="ViewManager.receive"></a>
3064 <h4>ViewManager.receive</h4>
3065 <b>receive</b>(<i>projectHash, fileName, command</i>)
3066 <p>
3067 Public slot to handle received editor commands.
3068 </p><dl>
3069 <dt><i>projectHash</i></dt>
3070 <dd>
3071 hash of the project (string)
3072 </dd><dt><i>fileName</i></dt>
3073 <dd>
3074 project relative file name of the editor (string)
3075 </dd><dt><i>command</i></dt>
3076 <dd>
3077 command string (string)
3078 </dd>
3079 </dl><a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a>
3080 <h4>ViewManager.removeSplit</h4>
3081 <b>removeSplit</b>(<i>index=-1</i>)
3082 <p>
3083 Public method used to remove the current split view or a split view
3084 by index.
3085 </p><dl>
3086 <dt><i>index</i> (int)</dt>
3087 <dd>
3088 index of the split to be removed (-1 means to
3089 delete the current split)
3090 </dd>
3091 </dl><dl>
3092 <dt>Returns:</dt>
3093 <dd>
3094 flag indicating successful deletion
3095 </dd>
3096 </dl><dl>
3097 <dt>Return Type:</dt>
3098 <dd>
3099 bool
3100 </dd>
3101 </dl><a NAME="ViewManager.replaceWidget" ID="ViewManager.replaceWidget"></a>
3102 <h4>ViewManager.replaceWidget</h4>
3103 <b>replaceWidget</b>(<i></i>)
3104 <p>
3105 Public method to get a reference to the replace widget.
3106 </p><dl>
3107 <dt>Returns:</dt>
3108 <dd>
3109 reference to the replace widget (SearchReplaceSlidingWidget)
3110 </dd>
3111 </dl><a NAME="ViewManager.saveAllEditors" ID="ViewManager.saveAllEditors"></a>
3112 <h4>ViewManager.saveAllEditors</h4>
3113 <b>saveAllEditors</b>(<i></i>)
3114 <p>
3115 Public slot to save the contents of all editors.
3116 </p><a NAME="ViewManager.saveAsCurrentEditor" ID="ViewManager.saveAsCurrentEditor"></a>
3117 <h4>ViewManager.saveAsCurrentEditor</h4>
3118 <b>saveAsCurrentEditor</b>(<i></i>)
3119 <p>
3120 Public slot to save the contents of the current editor to a new file.
3121 </p><a NAME="ViewManager.saveAsEditorEd" ID="ViewManager.saveAsEditorEd"></a>
3122 <h4>ViewManager.saveAsEditorEd</h4>
3123 <b>saveAsEditorEd</b>(<i>ed</i>)
3124 <p>
3125 Public slot to save the contents of an editor to a new file.
3126 </p><dl>
3127 <dt><i>ed</i></dt>
3128 <dd>
3129 editor to be saved
3130 </dd>
3131 </dl><a NAME="ViewManager.saveCopyCurrentEditor" ID="ViewManager.saveCopyCurrentEditor"></a>
3132 <h4>ViewManager.saveCopyCurrentEditor</h4>
3133 <b>saveCopyCurrentEditor</b>(<i></i>)
3134 <p>
3135 Public slot to save the contents of the current editor to a new copy
3136 of the file.
3137 </p><a NAME="ViewManager.saveCopyEditorEd" ID="ViewManager.saveCopyEditorEd"></a>
3138 <h4>ViewManager.saveCopyEditorEd</h4>
3139 <b>saveCopyEditorEd</b>(<i>ed</i>)
3140 <p>
3141 Public slot to save the contents of an editor to a new copy of
3142 the file.
3143 </p><dl>
3144 <dt><i>ed</i></dt>
3145 <dd>
3146 editor to be saved
3147 </dd>
3148 </dl><a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a>
3149 <h4>ViewManager.saveCurrentEditor</h4>
3150 <b>saveCurrentEditor</b>(<i></i>)
3151 <p>
3152 Public slot to save the contents of the current editor.
3153 </p><a NAME="ViewManager.saveEditor" ID="ViewManager.saveEditor"></a>
3154 <h4>ViewManager.saveEditor</h4>
3155 <b>saveEditor</b>(<i>fn</i>)
3156 <p>
3157 Public method to save a named editor file.
3158 </p><dl>
3159 <dt><i>fn</i></dt>
3160 <dd>
3161 filename of editor to be saved (string)
3162 </dd>
3163 </dl><dl>
3164 <dt>Returns:</dt>
3165 <dd>
3166 flag indicating success (boolean)
3167 </dd>
3168 </dl><a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a>
3169 <h4>ViewManager.saveEditorEd</h4>
3170 <b>saveEditorEd</b>(<i>ed</i>)
3171 <p>
3172 Public slot to save the contents of an editor.
3173 </p><dl>
3174 <dt><i>ed</i></dt>
3175 <dd>
3176 editor to be saved
3177 </dd>
3178 </dl><dl>
3179 <dt>Returns:</dt>
3180 <dd>
3181 flag indicating success (boolean)
3182 </dd>
3183 </dl><a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a>
3184 <h4>ViewManager.saveEditorsList</h4>
3185 <b>saveEditorsList</b>(<i>editors</i>)
3186 <p>
3187 Public slot to save a list of editors.
3188 </p><dl>
3189 <dt><i>editors</i></dt>
3190 <dd>
3191 list of editors to be saved
3192 </dd>
3193 </dl><a NAME="ViewManager.searchWidget" ID="ViewManager.searchWidget"></a>
3194 <h4>ViewManager.searchWidget</h4>
3195 <b>searchWidget</b>(<i></i>)
3196 <p>
3197 Public method to get a reference to the search widget.
3198 </p><dl>
3199 <dt>Returns:</dt>
3200 <dd>
3201 reference to the search widget (SearchReplaceSlidingWidget)
3202 </dd>
3203 </dl><a NAME="ViewManager.send" ID="ViewManager.send"></a>
3204 <h4>ViewManager.send</h4>
3205 <b>send</b>(<i>fileName, message</i>)
3206 <p>
3207 Public method to send an editor command to remote editors.
3208 </p><dl>
3209 <dt><i>fileName</i></dt>
3210 <dd>
3211 file name of the editor (string)
3212 </dd><dt><i>message</i></dt>
3213 <dd>
3214 command message to be sent (string)
3215 </dd>
3216 </dl><a NAME="ViewManager.sendSharedEdit" ID="ViewManager.sendSharedEdit"></a>
3217 <h4>ViewManager.sendSharedEdit</h4>
3218 <b>sendSharedEdit</b>(<i></i>)
3219 <p>
3220 Public slot to end a shared edit session for the current editor and
3221 send the changes.
3222 </p><a NAME="ViewManager.setCooperationClient" ID="ViewManager.setCooperationClient"></a>
3223 <h4>ViewManager.setCooperationClient</h4>
3224 <b>setCooperationClient</b>(<i>client</i>)
3225 <p>
3226 Public method to set a reference to the cooperation client.
3227 </p><dl>
3228 <dt><i>client</i></dt>
3229 <dd>
3230 reference to the cooperation client (CooperationClient)
3231 </dd>
3232 </dl><a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a>
3233 <h4>ViewManager.setEditorName</h4>
3234 <b>setEditorName</b>(<i>editor, newName</i>)
3235 <p>
3236 Public method to change the displayed name of the editor.
3237 </p><dl>
3238 <dt><i>editor</i></dt>
3239 <dd>
3240 editor window to be changed
3241 </dd><dt><i>newName</i></dt>
3242 <dd>
3243 new name to be shown (string)
3244 </dd>
3245 </dl><dl>
3246 <dt>Raises <b>RuntimeError</b>:</dt>
3247 <dd>
3248 Not implemented
3249 </dd>
3250 </dl><a NAME="ViewManager.setFileLine" ID="ViewManager.setFileLine"></a>
3251 <h4>ViewManager.setFileLine</h4>
3252 <b>setFileLine</b>(<i>fn, line, error=False, syntaxError=False</i>)
3253 <p>
3254 Public method to update the user interface when the current program
3255 or line changes.
3256 </p><dl>
3257 <dt><i>fn</i></dt>
3258 <dd>
3259 filename of editor to update (string)
3260 </dd><dt><i>line</i></dt>
3261 <dd>
3262 line number to highlight (int)
3263 </dd><dt><i>error</i></dt>
3264 <dd>
3265 flag indicating an error highlight (boolean)
3266 </dd><dt><i>syntaxError</i></dt>
3267 <dd>
3268 flag indicating a syntax error
3269 </dd>
3270 </dl><a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a>
3271 <h4>ViewManager.setReferences</h4>
3272 <b>setReferences</b>(<i>ui, dbs</i>)
3273 <p>
3274 Public method to set some references needed later on.
3275 </p><dl>
3276 <dt><i>ui</i></dt>
3277 <dd>
3278 reference to the main user interface
3279 </dd><dt><i>dbs</i></dt>
3280 <dd>
3281 reference to the debug server object
3282 </dd>
3283 </dl><a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a>
3284 <h4>ViewManager.setSbInfo</h4>
3285 <b>setSbInfo</b>(<i>sbLine, sbPos, sbWritable, sbEncoding, sbLanguage, sbEol, sbZoom</i>)
3286 <p>
3287 Public method to transfer statusbar info from the user interface to
3288 viewmanager.
3289 </p><dl>
3290 <dt><i>sbLine</i></dt>
3291 <dd>
3292 reference to the line number part of the statusbar
3293 (QLabel)
3294 </dd><dt><i>sbPos</i></dt>
3295 <dd>
3296 reference to the character position part of the statusbar
3297 (QLabel)
3298 </dd><dt><i>sbWritable</i></dt>
3299 <dd>
3300 reference to the writability indicator part of
3301 the statusbar (QLabel)
3302 </dd><dt><i>sbEncoding</i></dt>
3303 <dd>
3304 reference to the encoding indicator part of the
3305 statusbar (QLabel)
3306 </dd><dt><i>sbLanguage</i></dt>
3307 <dd>
3308 reference to the language indicator part of the
3309 statusbar (QLabel)
3310 </dd><dt><i>sbEol</i></dt>
3311 <dd>
3312 reference to the eol indicator part of the statusbar
3313 (QLabel)
3314 </dd><dt><i>sbZoom</i></dt>
3315 <dd>
3316 reference to the zoom widget (E5ZoomWidget)
3317 </dd>
3318 </dl><a NAME="ViewManager.setSplitCount" ID="ViewManager.setSplitCount"></a>
3319 <h4>ViewManager.setSplitCount</h4>
3320 <b>setSplitCount</b>(<i>count</i>)
3321 <p>
3322 Public method to set the number of split views.
3323 </p><dl>
3324 <dt><i>count</i> (int)</dt>
3325 <dd>
3326 number of split views
3327 </dd>
3328 </dl><a NAME="ViewManager.setSplitOrientation" ID="ViewManager.setSplitOrientation"></a>
3329 <h4>ViewManager.setSplitOrientation</h4>
3330 <b>setSplitOrientation</b>(<i>orientation</i>)
3331 <p>
3332 Public method used to set the orientation of the split view.
3333 </p><dl>
3334 <dt><i>orientation</i></dt>
3335 <dd>
3336 orientation of the split
3337 (Qt.Horizontal or Qt.Vertical)
3338 </dd>
3339 </dl><a NAME="ViewManager.shareConnected" ID="ViewManager.shareConnected"></a>
3340 <h4>ViewManager.shareConnected</h4>
3341 <b>shareConnected</b>(<i>connected</i>)
3342 <p>
3343 Public slot to handle a change of the connected state.
3344 </p><dl>
3345 <dt><i>connected</i></dt>
3346 <dd>
3347 flag indicating the connected state (boolean)
3348 </dd>
3349 </dl><a NAME="ViewManager.shareEditor" ID="ViewManager.shareEditor"></a>
3350 <h4>ViewManager.shareEditor</h4>
3351 <b>shareEditor</b>(<i>share</i>)
3352 <p>
3353 Public slot to set the shared status of the current editor.
3354 </p><dl>
3355 <dt><i>share</i></dt>
3356 <dd>
3357 flag indicating the share status (boolean)
3358 </dd>
3359 </dl><a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a>
3360 <h4>ViewManager.showDebugSource</h4>
3361 <b>showDebugSource</b>(<i>fn, line</i>)
3362 <p>
3363 Public method to open the given file and highlight the given line in
3364 it.
3365 </p><dl>
3366 <dt><i>fn</i></dt>
3367 <dd>
3368 filename of editor to update (string)
3369 </dd><dt><i>line</i></dt>
3370 <dd>
3371 line number to highlight (int)
3372 </dd>
3373 </dl><a NAME="ViewManager.showEditorInfo" ID="ViewManager.showEditorInfo"></a>
3374 <h4>ViewManager.showEditorInfo</h4>
3375 <b>showEditorInfo</b>(<i>editor</i>)
3376 <p>
3377 Public method to show some information for a given editor.
3378 </p><dl>
3379 <dt><i>editor</i> (Editor)</dt>
3380 <dd>
3381 editor to show information text for
3382 </dd>
3383 </dl><a NAME="ViewManager.showReplaceWidget" ID="ViewManager.showReplaceWidget"></a>
3384 <h4>ViewManager.showReplaceWidget</h4>
3385 <b>showReplaceWidget</b>(<i></i>)
3386 <p>
3387 Public method to show the replace widget.
3388 </p><a NAME="ViewManager.showSearchWidget" ID="ViewManager.showSearchWidget"></a>
3389 <h4>ViewManager.showSearchWidget</h4>
3390 <b>showSearchWidget</b>(<i></i>)
3391 <p>
3392 Public method to show the search widget.
3393 </p><a NAME="ViewManager.showWindowMenu" ID="ViewManager.showWindowMenu"></a>
3394 <h4>ViewManager.showWindowMenu</h4>
3395 <b>showWindowMenu</b>(<i>windowMenu</i>)
3396 <p>
3397 Public method to set up the viewmanager part of the Window menu.
3398 </p><dl>
3399 <dt><i>windowMenu</i></dt>
3400 <dd>
3401 reference to the window menu
3402 </dd>
3403 </dl><dl>
3404 <dt>Raises <b>RuntimeError</b>:</dt>
3405 <dd>
3406 Not implemented
3407 </dd>
3408 </dl><a NAME="ViewManager.splitCount" ID="ViewManager.splitCount"></a>
3409 <h4>ViewManager.splitCount</h4>
3410 <b>splitCount</b>(<i></i>)
3411 <p>
3412 Public method to get the number of split views.
3413 </p><dl>
3414 <dt>Returns:</dt>
3415 <dd>
3416 number of split views
3417 </dd>
3418 </dl><dl>
3419 <dt>Return Type:</dt>
3420 <dd>
3421 int
3422 </dd>
3423 </dl><a NAME="ViewManager.startSharedEdit" ID="ViewManager.startSharedEdit"></a>
3424 <h4>ViewManager.startSharedEdit</h4>
3425 <b>startSharedEdit</b>(<i></i>)
3426 <p>
3427 Public slot to start a shared edit session for the current editor.
3428 </p><a NAME="ViewManager.textForFind" ID="ViewManager.textForFind"></a>
3429 <h4>ViewManager.textForFind</h4>
3430 <b>textForFind</b>(<i>getCurrentWord=True</i>)
3431 <p>
3432 Public method to determine the selection or the current word for the
3433 next find operation.
3434 </p><dl>
3435 <dt><i>getCurrentWord</i></dt>
3436 <dd>
3437 flag indicating to return the current word, if
3438 no selected text was found (boolean)
3439 </dd>
3440 </dl><dl>
3441 <dt>Returns:</dt>
3442 <dd>
3443 selection or current word (string)
3444 </dd>
3445 </dl><a NAME="ViewManager.tile" ID="ViewManager.tile"></a>
3446 <h4>ViewManager.tile</h4>
3447 <b>tile</b>(<i></i>)
3448 <p>
3449 Public method to tile the managed windows.
3450 </p><dl>
3451 <dt>Raises <b>RuntimeError</b>:</dt>
3452 <dd>
3453 Not implemented
3454 </dd>
3455 </dl><a NAME="ViewManager.unhighlight" ID="ViewManager.unhighlight"></a>
3456 <h4>ViewManager.unhighlight</h4>
3457 <b>unhighlight</b>(<i>current=False</i>)
3458 <p>
3459 Public method to switch off all highlights or the highlight of
3460 the current editor.
3461 </p><dl>
3462 <dt><i>current</i></dt>
3463 <dd>
3464 flag indicating only the current editor should be
3465 unhighlighted (boolean)
3466 </dd>
3467 </dl><a NAME="ViewManager.zoomValueChanged" ID="ViewManager.zoomValueChanged"></a>
3468 <h4>ViewManager.zoomValueChanged</h4>
3469 <b>zoomValueChanged</b>(<i>value, zoomingWidget</i>)
3470 <p>
3471 Public slot to handle changes of the zoom value.
3472 </p><dl>
3473 <dt><i>value</i> (int)</dt>
3474 <dd>
3475 new zoom value
3476 </dd><dt><i>zoomingWidget</i> (Editor or Shell)</dt>
3477 <dd>
3478 reference to the widget triggering the slot
3479 </dd>
3480 </dl>
3481 <div align="right"><a href="#top">Up</a></div>
3482 <hr />
3483 </body></html>

eric ide

mercurial