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