|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.ViewManager.ViewManager</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.ViewManager.ViewManager</h1> |
|
24 <p> |
|
25 Module implementing the viewmanager base class. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#QuickSearchLineEdit">QuickSearchLineEdit</a></td> |
|
35 <td>Class implementing a line edit that reacts to newline and cancel commands.</td> |
|
36 </tr><tr> |
|
37 <td><a href="#ViewManager">ViewManager</a></td> |
|
38 <td>Base class inherited by all specific viewmanager classes.</td> |
|
39 </tr> |
|
40 </table> |
|
41 <h3>Functions</h3> |
|
42 <table> |
|
43 <tr><td>None</td></tr> |
|
44 </table> |
|
45 <hr /><hr /> |
|
46 <a NAME="QuickSearchLineEdit" ID="QuickSearchLineEdit"></a> |
|
47 <h2>QuickSearchLineEdit</h2> |
|
48 <p> |
|
49 Class implementing a line edit that reacts to newline and cancel commands. |
|
50 </p><h4>Signals</h4> |
|
51 <dl> |
|
52 <dt>escPressed()</dt> |
|
53 <dd> |
|
54 emitted after the cancel command was activated |
|
55 </dd><dt>gotFocus()</dt> |
|
56 <dd> |
|
57 emitted when the focus is changed to this widget |
|
58 </dd><dt>returnPressed()</dt> |
|
59 <dd> |
|
60 emitted after a newline command was activated |
|
61 </dd> |
|
62 </dl> |
|
63 <h3>Derived from</h3> |
|
64 QLineEdit |
|
65 <h3>Class Attributes</h3> |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Methods</h3> |
|
70 <table> |
|
71 <tr> |
|
72 <td><a href="#QuickSearchLineEdit.editorCommand">editorCommand</a></td> |
|
73 <td>Public method to perform an editor command.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#QuickSearchLineEdit.focusInEvent">focusInEvent</a></td> |
|
76 <td>Re-implemented to record the current editor widget.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#QuickSearchLineEdit.keyPressEvent">keyPressEvent</a></td> |
|
79 <td>Re-implemented to handle the press of the ESC key.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <a NAME="QuickSearchLineEdit.editorCommand" ID="QuickSearchLineEdit.editorCommand"></a> |
|
83 <h4>QuickSearchLineEdit.editorCommand</h4> |
|
84 <b>editorCommand</b>(<i>cmd</i>) |
|
85 <p> |
|
86 Public method to perform an editor command. |
|
87 </p><dl> |
|
88 <dt><i>cmd</i></dt> |
|
89 <dd> |
|
90 the scintilla command to be performed |
|
91 </dd> |
|
92 </dl><a NAME="QuickSearchLineEdit.focusInEvent" ID="QuickSearchLineEdit.focusInEvent"></a> |
|
93 <h4>QuickSearchLineEdit.focusInEvent</h4> |
|
94 <b>focusInEvent</b>(<i>evt</i>) |
|
95 <p> |
|
96 Re-implemented to record the current editor widget. |
|
97 </p><dl> |
|
98 <dt><i>evt</i></dt> |
|
99 <dd> |
|
100 focus event (QFocusEvent) |
|
101 </dd> |
|
102 </dl><a NAME="QuickSearchLineEdit.keyPressEvent" ID="QuickSearchLineEdit.keyPressEvent"></a> |
|
103 <h4>QuickSearchLineEdit.keyPressEvent</h4> |
|
104 <b>keyPressEvent</b>(<i>evt</i>) |
|
105 <p> |
|
106 Re-implemented to handle the press of the ESC key. |
|
107 </p><dl> |
|
108 <dt><i>evt</i></dt> |
|
109 <dd> |
|
110 key event (QKeyPressEvent) |
|
111 </dd> |
|
112 </dl> |
|
113 <div align="right"><a href="#top">Up</a></div> |
|
114 <hr /><hr /> |
|
115 <a NAME="ViewManager" ID="ViewManager"></a> |
|
116 <h2>ViewManager</h2> |
|
117 <p> |
|
118 Base class inherited by all specific viewmanager classes. |
|
119 </p><p> |
|
120 It defines the interface to be implemented by specific |
|
121 viewmanager classes and all common methods. |
|
122 </p><h4>Signals</h4> |
|
123 <dl> |
|
124 <dt>bookmarkToggled(editor)</dt> |
|
125 <dd> |
|
126 emitted when a bookmark is toggled. |
|
127 </dd><dt>breakpointToggled(editor)</dt> |
|
128 <dd> |
|
129 emitted when a breakpoint is toggled. |
|
130 </dd><dt>checkActions(editor)</dt> |
|
131 <dd> |
|
132 emitted when some actions should be checked |
|
133 for their status |
|
134 </dd><dt>cursorChanged(editor)</dt> |
|
135 <dd> |
|
136 emitted after the cursor position of the active |
|
137 window has changed |
|
138 </dd><dt>editorClosed(string)</dt> |
|
139 <dd> |
|
140 emitted just before an editor window gets closed |
|
141 </dd><dt>editorClosedEd(editor)</dt> |
|
142 <dd> |
|
143 emitted just before an editor window gets closed |
|
144 </dd><dt>editorOpened(string)</dt> |
|
145 <dd> |
|
146 emitted after an editor window was opened |
|
147 </dd><dt>editorOpenedEd(editor)</dt> |
|
148 <dd> |
|
149 emitted after an editor window was opened |
|
150 </dd><dt>editorSaved(string)</dt> |
|
151 <dd> |
|
152 emitted after an editor window was saved |
|
153 </dd><dt>lastEditorClosed</dt> |
|
154 <dd> |
|
155 emitted after the last editor window was closed |
|
156 </dd> |
|
157 </dl> |
|
158 <h3>Derived from</h3> |
|
159 QObject |
|
160 <h3>Class Attributes</h3> |
|
161 <table> |
|
162 <tr><td>None</td></tr> |
|
163 </table> |
|
164 <h3>Methods</h3> |
|
165 <table> |
|
166 <tr> |
|
167 <td><a href="#ViewManager.__init__">ViewManager</a></td> |
|
168 <td>Constructor</td> |
|
169 </tr><tr> |
|
170 <td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td> |
|
171 <td>Private method to add the current file to the list of bookmarked files.</td> |
|
172 </tr><tr> |
|
173 <td><a href="#ViewManager.__autosave">__autosave</a></td> |
|
174 <td>Private slot to save the contents of all editors automatically.</td> |
|
175 </tr><tr> |
|
176 <td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td> |
|
177 <td>Private method to handle the bookmark selected signal.</td> |
|
178 </tr><tr> |
|
179 <td><a href="#ViewManager.__bookmarkToggled">__bookmarkToggled</a></td> |
|
180 <td>Private slot to handle the bookmarkToggled signal.</td> |
|
181 </tr><tr> |
|
182 <td><a href="#ViewManager.__breakpointToggled">__breakpointToggled</a></td> |
|
183 <td>Private slot to handle the breakpointToggled signal.</td> |
|
184 </tr><tr> |
|
185 <td><a href="#ViewManager.__clearAllBookmarks">__clearAllBookmarks</a></td> |
|
186 <td>Private method to handle the clear all bookmarks action.</td> |
|
187 </tr><tr> |
|
188 <td><a href="#ViewManager.__clearAllSyntaxErrors">__clearAllSyntaxErrors</a></td> |
|
189 <td>Private method to handle the clear all syntax errors action.</td> |
|
190 </tr><tr> |
|
191 <td><a href="#ViewManager.__clearBookmarked">__clearBookmarked</a></td> |
|
192 <td>Private method to clear the bookmarked files menu.</td> |
|
193 </tr><tr> |
|
194 <td><a href="#ViewManager.__clearRecent">__clearRecent</a></td> |
|
195 <td>Private method to clear the recent files menu.</td> |
|
196 </tr><tr> |
|
197 <td><a href="#ViewManager.__connectEditor">__connectEditor</a></td> |
|
198 <td>Private method to establish all editor connections.</td> |
|
199 </tr><tr> |
|
200 <td><a href="#ViewManager.__convertEOL">__convertEOL</a></td> |
|
201 <td>Private method to handle the convert line end characters action.</td> |
|
202 </tr><tr> |
|
203 <td><a href="#ViewManager.__coverageMarkersShown">__coverageMarkersShown</a></td> |
|
204 <td>Private slot to handle the coverageMarkersShown signal.</td> |
|
205 </tr><tr> |
|
206 <td><a href="#ViewManager.__cursorChanged">__cursorChanged</a></td> |
|
207 <td>Private slot to handle the cursorChanged signal.</td> |
|
208 </tr><tr> |
|
209 <td><a href="#ViewManager.__editAutoComplete">__editAutoComplete</a></td> |
|
210 <td>Private method to handle the autocomplete action.</td> |
|
211 </tr><tr> |
|
212 <td><a href="#ViewManager.__editAutoCompleteFromAPIs">__editAutoCompleteFromAPIs</a></td> |
|
213 <td>Private method to handle the autocomplete from APIs action.</td> |
|
214 </tr><tr> |
|
215 <td><a href="#ViewManager.__editAutoCompleteFromAll">__editAutoCompleteFromAll</a></td> |
|
216 <td>Private method to handle the autocomplete from All action.</td> |
|
217 </tr><tr> |
|
218 <td><a href="#ViewManager.__editAutoCompleteFromDoc">__editAutoCompleteFromDoc</a></td> |
|
219 <td>Private method to handle the autocomplete from document action.</td> |
|
220 </tr><tr> |
|
221 <td><a href="#ViewManager.__editBookmarked">__editBookmarked</a></td> |
|
222 <td>Private method to edit the list of bookmarked files.</td> |
|
223 </tr><tr> |
|
224 <td><a href="#ViewManager.__editBoxComment">__editBoxComment</a></td> |
|
225 <td>Private method to handle the box comment action.</td> |
|
226 </tr><tr> |
|
227 <td><a href="#ViewManager.__editComment">__editComment</a></td> |
|
228 <td>Private method to handle the comment action.</td> |
|
229 </tr><tr> |
|
230 <td><a href="#ViewManager.__editCopy">__editCopy</a></td> |
|
231 <td>Private method to handle the copy action.</td> |
|
232 </tr><tr> |
|
233 <td><a href="#ViewManager.__editCut">__editCut</a></td> |
|
234 <td>Private method to handle the cut action.</td> |
|
235 </tr><tr> |
|
236 <td><a href="#ViewManager.__editDelete">__editDelete</a></td> |
|
237 <td>Private method to handle the delete action.</td> |
|
238 </tr><tr> |
|
239 <td><a href="#ViewManager.__editDeselectAll">__editDeselectAll</a></td> |
|
240 <td>Private method to handle the select all action.</td> |
|
241 </tr><tr> |
|
242 <td><a href="#ViewManager.__editIndent">__editIndent</a></td> |
|
243 <td>Private method to handle the indent action.</td> |
|
244 </tr><tr> |
|
245 <td><a href="#ViewManager.__editPaste">__editPaste</a></td> |
|
246 <td>Private method to handle the paste action.</td> |
|
247 </tr><tr> |
|
248 <td><a href="#ViewManager.__editRedo">__editRedo</a></td> |
|
249 <td>Private method to handle the redo action.</td> |
|
250 </tr><tr> |
|
251 <td><a href="#ViewManager.__editRevert">__editRevert</a></td> |
|
252 <td>Private method to handle the revert action.</td> |
|
253 </tr><tr> |
|
254 <td><a href="#ViewManager.__editSelectAll">__editSelectAll</a></td> |
|
255 <td>Private method to handle the select all action.</td> |
|
256 </tr><tr> |
|
257 <td><a href="#ViewManager.__editSelectBrace">__editSelectBrace</a></td> |
|
258 <td>Private method to handle the select to brace action.</td> |
|
259 </tr><tr> |
|
260 <td><a href="#ViewManager.__editShowCallTips">__editShowCallTips</a></td> |
|
261 <td>Private method to handle the calltips action.</td> |
|
262 </tr><tr> |
|
263 <td><a href="#ViewManager.__editSmartIndent">__editSmartIndent</a></td> |
|
264 <td>Private method to handle the smart indent action</td> |
|
265 </tr><tr> |
|
266 <td><a href="#ViewManager.__editStreamComment">__editStreamComment</a></td> |
|
267 <td>Private method to handle the stream comment action.</td> |
|
268 </tr><tr> |
|
269 <td><a href="#ViewManager.__editUncomment">__editUncomment</a></td> |
|
270 <td>Private method to handle the uncomment action.</td> |
|
271 </tr><tr> |
|
272 <td><a href="#ViewManager.__editUndo">__editUndo</a></td> |
|
273 <td>Private method to handle the undo action.</td> |
|
274 </tr><tr> |
|
275 <td><a href="#ViewManager.__editUnindent">__editUnindent</a></td> |
|
276 <td>Private method to handle the unindent action.</td> |
|
277 </tr><tr> |
|
278 <td><a href="#ViewManager.__editorAutoCompletionAPIsAvailable">__editorAutoCompletionAPIsAvailable</a></td> |
|
279 <td>Private method to handle the availability of API autocompletion signal.</td> |
|
280 </tr><tr> |
|
281 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> |
|
282 <td>Private method to send an editor command to the active window.</td> |
|
283 </tr><tr> |
|
284 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> |
|
285 <td>Private method to handle changes of an editors configuration (e.g.</td> |
|
286 </tr><tr> |
|
287 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> |
|
288 <td>Private slot to handle the editorOpened signal.</td> |
|
289 </tr><tr> |
|
290 <td><a href="#ViewManager.__editorSaved">__editorSaved</a></td> |
|
291 <td>Private slot to handle the editorSaved signal.</td> |
|
292 </tr><tr> |
|
293 <td><a href="#ViewManager.__enableSpellingActions">__enableSpellingActions</a></td> |
|
294 <td>Private method to set the enabled state of the spelling actions.</td> |
|
295 </tr><tr> |
|
296 <td><a href="#ViewManager.__exportMenuTriggered">__exportMenuTriggered</a></td> |
|
297 <td>Private method to handle the selection of an export format.</td> |
|
298 </tr><tr> |
|
299 <td><a href="#ViewManager.__findFileName">__findFileName</a></td> |
|
300 <td>Private method to handle the search for file action.</td> |
|
301 </tr><tr> |
|
302 <td><a href="#ViewManager.__goto">__goto</a></td> |
|
303 <td>Private method to handle the goto action.</td> |
|
304 </tr><tr> |
|
305 <td><a href="#ViewManager.__gotoBrace">__gotoBrace</a></td> |
|
306 <td>Private method to handle the goto brace action.</td> |
|
307 </tr><tr> |
|
308 <td><a href="#ViewManager.__gotoSyntaxError">__gotoSyntaxError</a></td> |
|
309 <td>Private method to handle the goto syntax error action.</td> |
|
310 </tr><tr> |
|
311 <td><a href="#ViewManager.__initBookmarkActions">__initBookmarkActions</a></td> |
|
312 <td>Private method defining the user interface actions for the bookmarks commands.</td> |
|
313 </tr><tr> |
|
314 <td><a href="#ViewManager.__initContextMenuExporters">__initContextMenuExporters</a></td> |
|
315 <td>Private method used to setup the Exporters sub menu.</td> |
|
316 </tr><tr> |
|
317 <td><a href="#ViewManager.__initEditActions">__initEditActions</a></td> |
|
318 <td>Private method defining the user interface actions for the edit commands.</td> |
|
319 </tr><tr> |
|
320 <td><a href="#ViewManager.__initFileActions">__initFileActions</a></td> |
|
321 <td>Private method defining the user interface actions for file handling.</td> |
|
322 </tr><tr> |
|
323 <td><a href="#ViewManager.__initMacroActions">__initMacroActions</a></td> |
|
324 <td>Private method defining the user interface actions for the macro commands.</td> |
|
325 </tr><tr> |
|
326 <td><a href="#ViewManager.__initSearchActions">__initSearchActions</a></td> |
|
327 <td>Private method defining the user interface actions for the search commands.</td> |
|
328 </tr><tr> |
|
329 <td><a href="#ViewManager.__initSpellingActions">__initSpellingActions</a></td> |
|
330 <td>Private method to initialize the spell checking actions.</td> |
|
331 </tr><tr> |
|
332 <td><a href="#ViewManager.__initViewActions">__initViewActions</a></td> |
|
333 <td>Private method defining the user interface actions for the view commands.</td> |
|
334 </tr><tr> |
|
335 <td><a href="#ViewManager.__lastEditorClosed">__lastEditorClosed</a></td> |
|
336 <td>Private slot to handle the lastEditorClosed signal.</td> |
|
337 </tr><tr> |
|
338 <td><a href="#ViewManager.__loadRecent">__loadRecent</a></td> |
|
339 <td>Private method to load the recently opened filenames.</td> |
|
340 </tr><tr> |
|
341 <td><a href="#ViewManager.__macroDelete">__macroDelete</a></td> |
|
342 <td>Private method to handle the delete macro action.</td> |
|
343 </tr><tr> |
|
344 <td><a href="#ViewManager.__macroLoad">__macroLoad</a></td> |
|
345 <td>Private method to handle the load macro action.</td> |
|
346 </tr><tr> |
|
347 <td><a href="#ViewManager.__macroRun">__macroRun</a></td> |
|
348 <td>Private method to handle the run macro action.</td> |
|
349 </tr><tr> |
|
350 <td><a href="#ViewManager.__macroSave">__macroSave</a></td> |
|
351 <td>Private method to handle the save macro action.</td> |
|
352 </tr><tr> |
|
353 <td><a href="#ViewManager.__macroStartRecording">__macroStartRecording</a></td> |
|
354 <td>Private method to handle the start macro recording action.</td> |
|
355 </tr><tr> |
|
356 <td><a href="#ViewManager.__macroStopRecording">__macroStopRecording</a></td> |
|
357 <td>Private method to handle the stop macro recording action.</td> |
|
358 </tr><tr> |
|
359 <td><a href="#ViewManager.__newLineBelow">__newLineBelow</a></td> |
|
360 <td>Private method to insert a new line below the current one even if cursor is not at the end of the line.</td> |
|
361 </tr><tr> |
|
362 <td><a href="#ViewManager.__nextBookmark">__nextBookmark</a></td> |
|
363 <td>Private method to handle the next bookmark action.</td> |
|
364 </tr><tr> |
|
365 <td><a href="#ViewManager.__nextTask">__nextTask</a></td> |
|
366 <td>Private method to handle the next task action.</td> |
|
367 </tr><tr> |
|
368 <td><a href="#ViewManager.__nextUncovered">__nextUncovered</a></td> |
|
369 <td>Private method to handle the next uncovered action.</td> |
|
370 </tr><tr> |
|
371 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td> |
|
372 <td>Private method to open a file from the list of rencently opened files.</td> |
|
373 </tr><tr> |
|
374 <td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td> |
|
375 <td>Private method to handle the previous bookmark action.</td> |
|
376 </tr><tr> |
|
377 <td><a href="#ViewManager.__previousTask">__previousTask</a></td> |
|
378 <td>Private method to handle the previous task action.</td> |
|
379 </tr><tr> |
|
380 <td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td> |
|
381 <td>Private method to handle the previous uncovered action.</td> |
|
382 </tr><tr> |
|
383 <td><a href="#ViewManager.__quickSearch">__quickSearch</a></td> |
|
384 <td>Private slot to handle the incremental quick search.</td> |
|
385 </tr><tr> |
|
386 <td><a href="#ViewManager.__quickSearchEnter">__quickSearchEnter</a></td> |
|
387 <td>Private slot to handle the incremental quick search return pressed (jump back to text)</td> |
|
388 </tr><tr> |
|
389 <td><a href="#ViewManager.__quickSearchEscape">__quickSearchEscape</a></td> |
|
390 <td>Private slot to handle the incremental quick search escape pressed (jump back to text)</td> |
|
391 </tr><tr> |
|
392 <td><a href="#ViewManager.__quickSearchExtend">__quickSearchExtend</a></td> |
|
393 <td>Private method to handle the quicksearch extend action.</td> |
|
394 </tr><tr> |
|
395 <td><a href="#ViewManager.__quickSearchFocusIn">__quickSearchFocusIn</a></td> |
|
396 <td>Private method to handle a focus in signal of the quicksearch lineedit.</td> |
|
397 </tr><tr> |
|
398 <td><a href="#ViewManager.__quickSearchInEditor">__quickSearchInEditor</a></td> |
|
399 <td>Private slot to perform a quick search.</td> |
|
400 </tr><tr> |
|
401 <td><a href="#ViewManager.__quickSearchMarkOccurrences">__quickSearchMarkOccurrences</a></td> |
|
402 <td>Private method to mark all occurrences of the search text.</td> |
|
403 </tr><tr> |
|
404 <td><a href="#ViewManager.__quickSearchPrev">__quickSearchPrev</a></td> |
|
405 <td>Private slot to handle the quickFindPrev toolbutton action.</td> |
|
406 </tr><tr> |
|
407 <td><a href="#ViewManager.__quickSearchText">__quickSearchText</a></td> |
|
408 <td>Private slot to handle the textChanged signal of the quicksearch edit.</td> |
|
409 </tr><tr> |
|
410 <td><a href="#ViewManager.__replace">__replace</a></td> |
|
411 <td>Private method to handle the replace action.</td> |
|
412 </tr><tr> |
|
413 <td><a href="#ViewManager.__replaceFiles">__replaceFiles</a></td> |
|
414 <td>Private method to handle the replace in files action.</td> |
|
415 </tr><tr> |
|
416 <td><a href="#ViewManager.__saveRecent">__saveRecent</a></td> |
|
417 <td>Private method to save the list of recently opened filenames.</td> |
|
418 </tr><tr> |
|
419 <td><a href="#ViewManager.__search">__search</a></td> |
|
420 <td>Private method to handle the search action.</td> |
|
421 </tr><tr> |
|
422 <td><a href="#ViewManager.__searchClearMarkers">__searchClearMarkers</a></td> |
|
423 <td>Private method to clear the search markers of the active window.</td> |
|
424 </tr><tr> |
|
425 <td><a href="#ViewManager.__searchFiles">__searchFiles</a></td> |
|
426 <td>Private method to handle the search in files action.</td> |
|
427 </tr><tr> |
|
428 <td><a href="#ViewManager.__setAutoSpellChecking">__setAutoSpellChecking</a></td> |
|
429 <td>Private slot to set the automatic spell checking of all editors.</td> |
|
430 </tr><tr> |
|
431 <td><a href="#ViewManager.__setSbFile">__setSbFile</a></td> |
|
432 <td>Private method to set the file info in the status bar.</td> |
|
433 </tr><tr> |
|
434 <td><a href="#ViewManager.__shortenEmptyLines">__shortenEmptyLines</a></td> |
|
435 <td>Private method to handle the shorten empty lines action.</td> |
|
436 </tr><tr> |
|
437 <td><a href="#ViewManager.__showBookmarkMenu">__showBookmarkMenu</a></td> |
|
438 <td>Private method to set up the bookmark menu.</td> |
|
439 </tr><tr> |
|
440 <td><a href="#ViewManager.__showBookmarkedMenu">__showBookmarkedMenu</a></td> |
|
441 <td>Private method to set up bookmarked files menu.</td> |
|
442 </tr><tr> |
|
443 <td><a href="#ViewManager.__showBookmarksMenu">__showBookmarksMenu</a></td> |
|
444 <td>Private method to handle the show bookmarks menu signal.</td> |
|
445 </tr><tr> |
|
446 <td><a href="#ViewManager.__showFileMenu">__showFileMenu</a></td> |
|
447 <td>Private method to set up the file menu.</td> |
|
448 </tr><tr> |
|
449 <td><a href="#ViewManager.__showRecentMenu">__showRecentMenu</a></td> |
|
450 <td>Private method to set up recent files menu.</td> |
|
451 </tr><tr> |
|
452 <td><a href="#ViewManager.__spellCheck">__spellCheck</a></td> |
|
453 <td>Private slot to perform a spell check of the current editor.</td> |
|
454 </tr><tr> |
|
455 <td><a href="#ViewManager.__splitOrientation">__splitOrientation</a></td> |
|
456 <td>Private method to handle the split orientation action.</td> |
|
457 </tr><tr> |
|
458 <td><a href="#ViewManager.__splitView">__splitView</a></td> |
|
459 <td>Private method to handle the split view action.</td> |
|
460 </tr><tr> |
|
461 <td><a href="#ViewManager.__taskMarkersUpdated">__taskMarkersUpdated</a></td> |
|
462 <td>Protected slot to handle the syntaxerrorToggled signal.</td> |
|
463 </tr><tr> |
|
464 <td><a href="#ViewManager.__toggleAll">__toggleAll</a></td> |
|
465 <td>Private method to handle the toggle all folds action.</td> |
|
466 </tr><tr> |
|
467 <td><a href="#ViewManager.__toggleAllChildren">__toggleAllChildren</a></td> |
|
468 <td>Private method to handle the toggle all folds (including children) action.</td> |
|
469 </tr><tr> |
|
470 <td><a href="#ViewManager.__toggleBookmark">__toggleBookmark</a></td> |
|
471 <td>Private method to handle the toggle bookmark action.</td> |
|
472 </tr><tr> |
|
473 <td><a href="#ViewManager.__toggleCurrent">__toggleCurrent</a></td> |
|
474 <td>Private method to handle the toggle current fold action.</td> |
|
475 </tr><tr> |
|
476 <td><a href="#ViewManager.__zoom">__zoom</a></td> |
|
477 <td>Private method to handle the zoom action.</td> |
|
478 </tr><tr> |
|
479 <td><a href="#ViewManager.__zoomIn">__zoomIn</a></td> |
|
480 <td>Private method to handle the zoom in action.</td> |
|
481 </tr><tr> |
|
482 <td><a href="#ViewManager.__zoomOut">__zoomOut</a></td> |
|
483 <td>Private method to handle the zoom out action.</td> |
|
484 </tr><tr> |
|
485 <td><a href="#ViewManager._addView">_addView</a></td> |
|
486 <td>Protected method to add a view (i.e.</td> |
|
487 </tr><tr> |
|
488 <td><a href="#ViewManager._checkActions">_checkActions</a></td> |
|
489 <td>Protected slot to check some actions for their enable/disable status and set the statusbar info.</td> |
|
490 </tr><tr> |
|
491 <td><a href="#ViewManager._getOpenFileFilter">_getOpenFileFilter</a></td> |
|
492 <td>Protected method to return the active filename filter for a file open dialog.</td> |
|
493 </tr><tr> |
|
494 <td><a href="#ViewManager._getOpenStartDir">_getOpenStartDir</a></td> |
|
495 <td>Protected method to return the starting directory for a file open dialog.</td> |
|
496 </tr><tr> |
|
497 <td><a href="#ViewManager._initWindowActions">_initWindowActions</a></td> |
|
498 <td>Protected method to define the user interface actions for window handling.</td> |
|
499 </tr><tr> |
|
500 <td><a href="#ViewManager._modificationStatusChanged">_modificationStatusChanged</a></td> |
|
501 <td>Protected slot to handle the modificationStatusChanged signal.</td> |
|
502 </tr><tr> |
|
503 <td><a href="#ViewManager._removeAllViews">_removeAllViews</a></td> |
|
504 <td>Protected method to remove all views (i.e.</td> |
|
505 </tr><tr> |
|
506 <td><a href="#ViewManager._removeView">_removeView</a></td> |
|
507 <td>Protected method to remove a view (i.e.</td> |
|
508 </tr><tr> |
|
509 <td><a href="#ViewManager._showView">_showView</a></td> |
|
510 <td>Protected method to show a view (i.e.</td> |
|
511 </tr><tr> |
|
512 <td><a href="#ViewManager._syntaxErrorToggled">_syntaxErrorToggled</a></td> |
|
513 <td>Protected slot to handle the syntaxerrorToggled signal.</td> |
|
514 </tr><tr> |
|
515 <td><a href="#ViewManager.activeWindow">activeWindow</a></td> |
|
516 <td>Public method to return the active (i.e.</td> |
|
517 </tr><tr> |
|
518 <td><a href="#ViewManager.addSplit">addSplit</a></td> |
|
519 <td>Public method used to split the current view.</td> |
|
520 </tr><tr> |
|
521 <td><a href="#ViewManager.addToExtrasMenu">addToExtrasMenu</a></td> |
|
522 <td>Public method to add some actions to the extras menu.</td> |
|
523 </tr><tr> |
|
524 <td><a href="#ViewManager.addToRecentList">addToRecentList</a></td> |
|
525 <td>Public slot to add a filename to the list of recently opened files.</td> |
|
526 </tr><tr> |
|
527 <td><a href="#ViewManager.canCascade">canCascade</a></td> |
|
528 <td>Public method to signal if cascading of managed windows is available.</td> |
|
529 </tr><tr> |
|
530 <td><a href="#ViewManager.canSplit">canSplit</a></td> |
|
531 <td>Public method to signal if splitting of the view is available.</td> |
|
532 </tr><tr> |
|
533 <td><a href="#ViewManager.canTile">canTile</a></td> |
|
534 <td>Public method to signal if tiling of managed windows is available.</td> |
|
535 </tr><tr> |
|
536 <td><a href="#ViewManager.cascade">cascade</a></td> |
|
537 <td>Public method to cascade the managed windows.</td> |
|
538 </tr><tr> |
|
539 <td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td> |
|
540 <td>Public method to check the dirty status of all editors.</td> |
|
541 </tr><tr> |
|
542 <td><a href="#ViewManager.checkDirty">checkDirty</a></td> |
|
543 <td>Public method to check dirty status and open a message window.</td> |
|
544 </tr><tr> |
|
545 <td><a href="#ViewManager.cloneEditor">cloneEditor</a></td> |
|
546 <td>Public method to clone an editor displaying the given document.</td> |
|
547 </tr><tr> |
|
548 <td><a href="#ViewManager.closeAllWindows">closeAllWindows</a></td> |
|
549 <td>Private method to close all editor windows via file menu.</td> |
|
550 </tr><tr> |
|
551 <td><a href="#ViewManager.closeCurrentWindow">closeCurrentWindow</a></td> |
|
552 <td>Public method to close the current window.</td> |
|
553 </tr><tr> |
|
554 <td><a href="#ViewManager.closeEditor">closeEditor</a></td> |
|
555 <td>Public method to close an editor window.</td> |
|
556 </tr><tr> |
|
557 <td><a href="#ViewManager.closeEditorWindow">closeEditorWindow</a></td> |
|
558 <td>Public method to close an arbitrary source editor.</td> |
|
559 </tr><tr> |
|
560 <td><a href="#ViewManager.closeViewManager">closeViewManager</a></td> |
|
561 <td>Public method to shutdown the viewmanager.</td> |
|
562 </tr><tr> |
|
563 <td><a href="#ViewManager.closeWindow">closeWindow</a></td> |
|
564 <td>Public method to close an arbitrary source editor.</td> |
|
565 </tr><tr> |
|
566 <td><a href="#ViewManager.editorsCheckFocusInEnabled">editorsCheckFocusInEnabled</a></td> |
|
567 <td>Public method returning the flag indicating editors should perform focus in checks.</td> |
|
568 </tr><tr> |
|
569 <td><a href="#ViewManager.enableEditorsCheckFocusIn">enableEditorsCheckFocusIn</a></td> |
|
570 <td>Public method to set a flag enabling the editors to perform focus in checks.</td> |
|
571 </tr><tr> |
|
572 <td><a href="#ViewManager.eventFilter">eventFilter</a></td> |
|
573 <td>Public method called to filter an event.</td> |
|
574 </tr><tr> |
|
575 <td><a href="#ViewManager.exit">exit</a></td> |
|
576 <td>Public method to handle the debugged program terminating.</td> |
|
577 </tr><tr> |
|
578 <td><a href="#ViewManager.getAPIsManager">getAPIsManager</a></td> |
|
579 <td>Public method to get a reference to the APIs manager.</td> |
|
580 </tr><tr> |
|
581 <td><a href="#ViewManager.getActions">getActions</a></td> |
|
582 <td>Public method to get a list of all actions.</td> |
|
583 </tr><tr> |
|
584 <td><a href="#ViewManager.getActiveName">getActiveName</a></td> |
|
585 <td>Public method to retrieve the filename of the active window.</td> |
|
586 </tr><tr> |
|
587 <td><a href="#ViewManager.getEditor">getEditor</a></td> |
|
588 <td>Public method to return the editor displaying the given file.</td> |
|
589 </tr><tr> |
|
590 <td><a href="#ViewManager.getMostRecent">getMostRecent</a></td> |
|
591 <td>Public method to get the most recently opened file.</td> |
|
592 </tr><tr> |
|
593 <td><a href="#ViewManager.getOpenEditor">getOpenEditor</a></td> |
|
594 <td>Public method to return the editor displaying the given file.</td> |
|
595 </tr><tr> |
|
596 <td><a href="#ViewManager.getOpenEditorCount">getOpenEditorCount</a></td> |
|
597 <td>Public method to return the count of editors displaying the given file.</td> |
|
598 </tr><tr> |
|
599 <td><a href="#ViewManager.getOpenEditors">getOpenEditors</a></td> |
|
600 <td>Public method to get references to all open editors.</td> |
|
601 </tr><tr> |
|
602 <td><a href="#ViewManager.getOpenEditorsCount">getOpenEditorsCount</a></td> |
|
603 <td>Public method to get the number of open editors.</td> |
|
604 </tr><tr> |
|
605 <td><a href="#ViewManager.getOpenFilenames">getOpenFilenames</a></td> |
|
606 <td>Public method returning a list of the filenames of all editors.</td> |
|
607 </tr><tr> |
|
608 <td><a href="#ViewManager.getSRHistory">getSRHistory</a></td> |
|
609 <td>Public method to get the search or replace history list.</td> |
|
610 </tr><tr> |
|
611 <td><a href="#ViewManager.handleResetUI">handleResetUI</a></td> |
|
612 <td>Public slot to handle the resetUI signal.</td> |
|
613 </tr><tr> |
|
614 <td><a href="#ViewManager.initActions">initActions</a></td> |
|
615 <td>Public method defining the user interface actions.</td> |
|
616 </tr><tr> |
|
617 <td><a href="#ViewManager.initBookmarkMenu">initBookmarkMenu</a></td> |
|
618 <td>Public method to create the Bookmark menu</td> |
|
619 </tr><tr> |
|
620 <td><a href="#ViewManager.initBookmarkToolbar">initBookmarkToolbar</a></td> |
|
621 <td>Public method to create the Bookmark toolbar</td> |
|
622 </tr><tr> |
|
623 <td><a href="#ViewManager.initEditMenu">initEditMenu</a></td> |
|
624 <td>Public method to create the Edit menu</td> |
|
625 </tr><tr> |
|
626 <td><a href="#ViewManager.initEditToolbar">initEditToolbar</a></td> |
|
627 <td>Public method to create the Edit toolbar</td> |
|
628 </tr><tr> |
|
629 <td><a href="#ViewManager.initFileMenu">initFileMenu</a></td> |
|
630 <td>Public method to create the File menu.</td> |
|
631 </tr><tr> |
|
632 <td><a href="#ViewManager.initFileToolbar">initFileToolbar</a></td> |
|
633 <td>Public method to create the File toolbar.</td> |
|
634 </tr><tr> |
|
635 <td><a href="#ViewManager.initMacroMenu">initMacroMenu</a></td> |
|
636 <td>Public method to create the Macro menu</td> |
|
637 </tr><tr> |
|
638 <td><a href="#ViewManager.initSearchToolbars">initSearchToolbars</a></td> |
|
639 <td>Public method to create the Search toolbars</td> |
|
640 </tr><tr> |
|
641 <td><a href="#ViewManager.initSpellingToolbar">initSpellingToolbar</a></td> |
|
642 <td>Public method to create the Spelling toolbar</td> |
|
643 </tr><tr> |
|
644 <td><a href="#ViewManager.initViewMenu">initViewMenu</a></td> |
|
645 <td>Public method to create the View menu</td> |
|
646 </tr><tr> |
|
647 <td><a href="#ViewManager.initViewToolbar">initViewToolbar</a></td> |
|
648 <td>Public method to create the View toolbar</td> |
|
649 </tr><tr> |
|
650 <td><a href="#ViewManager.newEditor">newEditor</a></td> |
|
651 <td>Public slot to generate a new empty editor.</td> |
|
652 </tr><tr> |
|
653 <td><a href="#ViewManager.newEditorView">newEditorView</a></td> |
|
654 <td>Public method to create a new editor displaying the given document.</td> |
|
655 </tr><tr> |
|
656 <td><a href="#ViewManager.newProject">newProject</a></td> |
|
657 <td>Public slot to handle the NewProject signal.</td> |
|
658 </tr><tr> |
|
659 <td><a href="#ViewManager.nextSplit">nextSplit</a></td> |
|
660 <td>Public slot used to move to the next split.</td> |
|
661 </tr><tr> |
|
662 <td><a href="#ViewManager.openFiles">openFiles</a></td> |
|
663 <td>Public slot to open some files.</td> |
|
664 </tr><tr> |
|
665 <td><a href="#ViewManager.openSourceFile">openSourceFile</a></td> |
|
666 <td>Public slot to display a file in an editor.</td> |
|
667 </tr><tr> |
|
668 <td><a href="#ViewManager.preferencesChanged">preferencesChanged</a></td> |
|
669 <td>Public slot to handle the preferencesChanged signal.</td> |
|
670 </tr><tr> |
|
671 <td><a href="#ViewManager.prevSplit">prevSplit</a></td> |
|
672 <td>Public slot used to move to the previous split.</td> |
|
673 </tr><tr> |
|
674 <td><a href="#ViewManager.printCurrentEditor">printCurrentEditor</a></td> |
|
675 <td>Public slot to print the contents of the current editor.</td> |
|
676 </tr><tr> |
|
677 <td><a href="#ViewManager.printEditor">printEditor</a></td> |
|
678 <td>Public slot to print an editor.</td> |
|
679 </tr><tr> |
|
680 <td><a href="#ViewManager.printPreviewCurrentEditor">printPreviewCurrentEditor</a></td> |
|
681 <td>Public slot to show a print preview of the current editor.</td> |
|
682 </tr><tr> |
|
683 <td><a href="#ViewManager.projectClosed">projectClosed</a></td> |
|
684 <td>Public slot to handle the projectClosed signal.</td> |
|
685 </tr><tr> |
|
686 <td><a href="#ViewManager.projectFileRenamed">projectFileRenamed</a></td> |
|
687 <td>Public slot to handle the projectFileRenamed signal.</td> |
|
688 </tr><tr> |
|
689 <td><a href="#ViewManager.projectLexerAssociationsChanged">projectLexerAssociationsChanged</a></td> |
|
690 <td>Public slot to handle changes of the project lexer associations.</td> |
|
691 </tr><tr> |
|
692 <td><a href="#ViewManager.projectOpened">projectOpened</a></td> |
|
693 <td>Public slot to handle the projectOpened signal.</td> |
|
694 </tr><tr> |
|
695 <td><a href="#ViewManager.removeSplit">removeSplit</a></td> |
|
696 <td>Public method used to remove the current split view.</td> |
|
697 </tr><tr> |
|
698 <td><a href="#ViewManager.saveAllEditors">saveAllEditors</a></td> |
|
699 <td>Public slot to save the contents of all editors.</td> |
|
700 </tr><tr> |
|
701 <td><a href="#ViewManager.saveAsCurrentEditor">saveAsCurrentEditor</a></td> |
|
702 <td>Public slot to save the contents of the current editor to a new file.</td> |
|
703 </tr><tr> |
|
704 <td><a href="#ViewManager.saveAsEditorEd">saveAsEditorEd</a></td> |
|
705 <td>Public slot to save the contents of an editor to a new file.</td> |
|
706 </tr><tr> |
|
707 <td><a href="#ViewManager.saveCurrentEditor">saveCurrentEditor</a></td> |
|
708 <td>Public slot to save the contents of the current editor.</td> |
|
709 </tr><tr> |
|
710 <td><a href="#ViewManager.saveCurrentEditorToProject">saveCurrentEditorToProject</a></td> |
|
711 <td>Public slot to save the contents of the current editor to the current project.</td> |
|
712 </tr><tr> |
|
713 <td><a href="#ViewManager.saveEditor">saveEditor</a></td> |
|
714 <td>Public method to save a named editor file.</td> |
|
715 </tr><tr> |
|
716 <td><a href="#ViewManager.saveEditorEd">saveEditorEd</a></td> |
|
717 <td>Public slot to save the contents of an editor.</td> |
|
718 </tr><tr> |
|
719 <td><a href="#ViewManager.saveEditorToProjectEd">saveEditorToProjectEd</a></td> |
|
720 <td>Public slot to save the contents of an editor to the current project.</td> |
|
721 </tr><tr> |
|
722 <td><a href="#ViewManager.saveEditorsList">saveEditorsList</a></td> |
|
723 <td>Public slot to save a list of editors.</td> |
|
724 </tr><tr> |
|
725 <td><a href="#ViewManager.setEditorName">setEditorName</a></td> |
|
726 <td>Public method to change the displayed name of the editor.</td> |
|
727 </tr><tr> |
|
728 <td><a href="#ViewManager.setFileLine">setFileLine</a></td> |
|
729 <td>Public method to update the user interface when the current program or line changes.</td> |
|
730 </tr><tr> |
|
731 <td><a href="#ViewManager.setReferences">setReferences</a></td> |
|
732 <td>Public method to set some references needed later on.</td> |
|
733 </tr><tr> |
|
734 <td><a href="#ViewManager.setSbInfo">setSbInfo</a></td> |
|
735 <td>Public method to transfer statusbar info from the user interface to viewmanager.</td> |
|
736 </tr><tr> |
|
737 <td><a href="#ViewManager.setSplitOrientation">setSplitOrientation</a></td> |
|
738 <td>Public method used to set the orientation of the split view.</td> |
|
739 </tr><tr> |
|
740 <td><a href="#ViewManager.showDebugSource">showDebugSource</a></td> |
|
741 <td>Public method to open the given file and highlight the given line in it.</td> |
|
742 </tr><tr> |
|
743 <td><a href="#ViewManager.showWindowMenu">showWindowMenu</a></td> |
|
744 <td>Public method to set up the viewmanager part of the Window menu.</td> |
|
745 </tr><tr> |
|
746 <td><a href="#ViewManager.textForFind">textForFind</a></td> |
|
747 <td>Public method to determine the selection or the current word for the next find operation.</td> |
|
748 </tr><tr> |
|
749 <td><a href="#ViewManager.tile">tile</a></td> |
|
750 <td>Public method to tile the managed windows.</td> |
|
751 </tr><tr> |
|
752 <td><a href="#ViewManager.unhighlight">unhighlight</a></td> |
|
753 <td>Public method to switch off all highlights.</td> |
|
754 </tr> |
|
755 </table> |
|
756 <a NAME="ViewManager.__init__" ID="ViewManager.__init__"></a> |
|
757 <h4>ViewManager (Constructor)</h4> |
|
758 <b>ViewManager</b>(<i></i>) |
|
759 <p> |
|
760 Constructor |
|
761 </p><dl> |
|
762 <dt><i>ui</i></dt> |
|
763 <dd> |
|
764 reference to the main user interface |
|
765 </dd><dt><i>dbs</i></dt> |
|
766 <dd> |
|
767 reference to the debug server object |
|
768 </dd> |
|
769 </dl><a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a> |
|
770 <h4>ViewManager.__addBookmarked</h4> |
|
771 <b>__addBookmarked</b>(<i></i>) |
|
772 <p> |
|
773 Private method to add the current file to the list of bookmarked files. |
|
774 </p><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a> |
|
775 <h4>ViewManager.__autosave</h4> |
|
776 <b>__autosave</b>(<i></i>) |
|
777 <p> |
|
778 Private slot to save the contents of all editors automatically. |
|
779 </p><p> |
|
780 Only named editors will be saved by the autosave timer. |
|
781 </p><a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a> |
|
782 <h4>ViewManager.__bookmarkSelected</h4> |
|
783 <b>__bookmarkSelected</b>(<i>act</i>) |
|
784 <p> |
|
785 Private method to handle the bookmark selected signal. |
|
786 </p><dl> |
|
787 <dt><i>act</i></dt> |
|
788 <dd> |
|
789 reference to the action that triggered (QAction) |
|
790 </dd> |
|
791 </dl><a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a> |
|
792 <h4>ViewManager.__bookmarkToggled</h4> |
|
793 <b>__bookmarkToggled</b>(<i>editor</i>) |
|
794 <p> |
|
795 Private slot to handle the bookmarkToggled signal. |
|
796 </p><p> |
|
797 It checks some bookmark actions and reemits the signal. |
|
798 </p><dl> |
|
799 <dt><i>editor</i></dt> |
|
800 <dd> |
|
801 editor that sent the signal |
|
802 </dd> |
|
803 </dl><a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a> |
|
804 <h4>ViewManager.__breakpointToggled</h4> |
|
805 <b>__breakpointToggled</b>(<i>editor</i>) |
|
806 <p> |
|
807 Private slot to handle the breakpointToggled signal. |
|
808 </p><p> |
|
809 It simply reemits the signal. |
|
810 </p><dl> |
|
811 <dt><i>editor</i></dt> |
|
812 <dd> |
|
813 editor that sent the signal |
|
814 </dd> |
|
815 </dl><a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a> |
|
816 <h4>ViewManager.__clearAllBookmarks</h4> |
|
817 <b>__clearAllBookmarks</b>(<i></i>) |
|
818 <p> |
|
819 Private method to handle the clear all bookmarks action. |
|
820 </p><a NAME="ViewManager.__clearAllSyntaxErrors" ID="ViewManager.__clearAllSyntaxErrors"></a> |
|
821 <h4>ViewManager.__clearAllSyntaxErrors</h4> |
|
822 <b>__clearAllSyntaxErrors</b>(<i></i>) |
|
823 <p> |
|
824 Private method to handle the clear all syntax errors action. |
|
825 </p><a NAME="ViewManager.__clearBookmarked" ID="ViewManager.__clearBookmarked"></a> |
|
826 <h4>ViewManager.__clearBookmarked</h4> |
|
827 <b>__clearBookmarked</b>(<i></i>) |
|
828 <p> |
|
829 Private method to clear the bookmarked files menu. |
|
830 </p><a NAME="ViewManager.__clearRecent" ID="ViewManager.__clearRecent"></a> |
|
831 <h4>ViewManager.__clearRecent</h4> |
|
832 <b>__clearRecent</b>(<i></i>) |
|
833 <p> |
|
834 Private method to clear the recent files menu. |
|
835 </p><a NAME="ViewManager.__connectEditor" ID="ViewManager.__connectEditor"></a> |
|
836 <h4>ViewManager.__connectEditor</h4> |
|
837 <b>__connectEditor</b>(<i>editor</i>) |
|
838 <p> |
|
839 Private method to establish all editor connections. |
|
840 </p><dl> |
|
841 <dt><i>editor</i></dt> |
|
842 <dd> |
|
843 reference to the editor object to be connected |
|
844 </dd> |
|
845 </dl><a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a> |
|
846 <h4>ViewManager.__convertEOL</h4> |
|
847 <b>__convertEOL</b>(<i></i>) |
|
848 <p> |
|
849 Private method to handle the convert line end characters action. |
|
850 </p><a NAME="ViewManager.__coverageMarkersShown" ID="ViewManager.__coverageMarkersShown"></a> |
|
851 <h4>ViewManager.__coverageMarkersShown</h4> |
|
852 <b>__coverageMarkersShown</b>(<i>shown</i>) |
|
853 <p> |
|
854 Private slot to handle the coverageMarkersShown signal. |
|
855 </p><dl> |
|
856 <dt><i>shown</i></dt> |
|
857 <dd> |
|
858 flag indicating whether the markers were shown or cleared |
|
859 </dd> |
|
860 </dl><a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a> |
|
861 <h4>ViewManager.__cursorChanged</h4> |
|
862 <b>__cursorChanged</b>(<i>fn, line, pos</i>) |
|
863 <p> |
|
864 Private slot to handle the cursorChanged signal. |
|
865 </p><p> |
|
866 It emits the signal cursorChanged with parameter editor. |
|
867 </p><dl> |
|
868 <dt><i>fn</i></dt> |
|
869 <dd> |
|
870 filename (string) |
|
871 </dd><dt><i>line</i></dt> |
|
872 <dd> |
|
873 line number of the cursor (int) |
|
874 </dd><dt><i>pos</i></dt> |
|
875 <dd> |
|
876 position in line of the cursor (int) |
|
877 </dd> |
|
878 </dl><a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a> |
|
879 <h4>ViewManager.__editAutoComplete</h4> |
|
880 <b>__editAutoComplete</b>(<i></i>) |
|
881 <p> |
|
882 Private method to handle the autocomplete action. |
|
883 </p><a NAME="ViewManager.__editAutoCompleteFromAPIs" ID="ViewManager.__editAutoCompleteFromAPIs"></a> |
|
884 <h4>ViewManager.__editAutoCompleteFromAPIs</h4> |
|
885 <b>__editAutoCompleteFromAPIs</b>(<i></i>) |
|
886 <p> |
|
887 Private method to handle the autocomplete from APIs action. |
|
888 </p><a NAME="ViewManager.__editAutoCompleteFromAll" ID="ViewManager.__editAutoCompleteFromAll"></a> |
|
889 <h4>ViewManager.__editAutoCompleteFromAll</h4> |
|
890 <b>__editAutoCompleteFromAll</b>(<i></i>) |
|
891 <p> |
|
892 Private method to handle the autocomplete from All action. |
|
893 </p><a NAME="ViewManager.__editAutoCompleteFromDoc" ID="ViewManager.__editAutoCompleteFromDoc"></a> |
|
894 <h4>ViewManager.__editAutoCompleteFromDoc</h4> |
|
895 <b>__editAutoCompleteFromDoc</b>(<i></i>) |
|
896 <p> |
|
897 Private method to handle the autocomplete from document action. |
|
898 </p><a NAME="ViewManager.__editBookmarked" ID="ViewManager.__editBookmarked"></a> |
|
899 <h4>ViewManager.__editBookmarked</h4> |
|
900 <b>__editBookmarked</b>(<i></i>) |
|
901 <p> |
|
902 Private method to edit the list of bookmarked files. |
|
903 </p><a NAME="ViewManager.__editBoxComment" ID="ViewManager.__editBoxComment"></a> |
|
904 <h4>ViewManager.__editBoxComment</h4> |
|
905 <b>__editBoxComment</b>(<i></i>) |
|
906 <p> |
|
907 Private method to handle the box comment action. |
|
908 </p><a NAME="ViewManager.__editComment" ID="ViewManager.__editComment"></a> |
|
909 <h4>ViewManager.__editComment</h4> |
|
910 <b>__editComment</b>(<i></i>) |
|
911 <p> |
|
912 Private method to handle the comment action. |
|
913 </p><a NAME="ViewManager.__editCopy" ID="ViewManager.__editCopy"></a> |
|
914 <h4>ViewManager.__editCopy</h4> |
|
915 <b>__editCopy</b>(<i></i>) |
|
916 <p> |
|
917 Private method to handle the copy action. |
|
918 </p><a NAME="ViewManager.__editCut" ID="ViewManager.__editCut"></a> |
|
919 <h4>ViewManager.__editCut</h4> |
|
920 <b>__editCut</b>(<i></i>) |
|
921 <p> |
|
922 Private method to handle the cut action. |
|
923 </p><a NAME="ViewManager.__editDelete" ID="ViewManager.__editDelete"></a> |
|
924 <h4>ViewManager.__editDelete</h4> |
|
925 <b>__editDelete</b>(<i></i>) |
|
926 <p> |
|
927 Private method to handle the delete action. |
|
928 </p><a NAME="ViewManager.__editDeselectAll" ID="ViewManager.__editDeselectAll"></a> |
|
929 <h4>ViewManager.__editDeselectAll</h4> |
|
930 <b>__editDeselectAll</b>(<i></i>) |
|
931 <p> |
|
932 Private method to handle the select all action. |
|
933 </p><a NAME="ViewManager.__editIndent" ID="ViewManager.__editIndent"></a> |
|
934 <h4>ViewManager.__editIndent</h4> |
|
935 <b>__editIndent</b>(<i></i>) |
|
936 <p> |
|
937 Private method to handle the indent action. |
|
938 </p><a NAME="ViewManager.__editPaste" ID="ViewManager.__editPaste"></a> |
|
939 <h4>ViewManager.__editPaste</h4> |
|
940 <b>__editPaste</b>(<i></i>) |
|
941 <p> |
|
942 Private method to handle the paste action. |
|
943 </p><a NAME="ViewManager.__editRedo" ID="ViewManager.__editRedo"></a> |
|
944 <h4>ViewManager.__editRedo</h4> |
|
945 <b>__editRedo</b>(<i></i>) |
|
946 <p> |
|
947 Private method to handle the redo action. |
|
948 </p><a NAME="ViewManager.__editRevert" ID="ViewManager.__editRevert"></a> |
|
949 <h4>ViewManager.__editRevert</h4> |
|
950 <b>__editRevert</b>(<i></i>) |
|
951 <p> |
|
952 Private method to handle the revert action. |
|
953 </p><a NAME="ViewManager.__editSelectAll" ID="ViewManager.__editSelectAll"></a> |
|
954 <h4>ViewManager.__editSelectAll</h4> |
|
955 <b>__editSelectAll</b>(<i></i>) |
|
956 <p> |
|
957 Private method to handle the select all action. |
|
958 </p><a NAME="ViewManager.__editSelectBrace" ID="ViewManager.__editSelectBrace"></a> |
|
959 <h4>ViewManager.__editSelectBrace</h4> |
|
960 <b>__editSelectBrace</b>(<i></i>) |
|
961 <p> |
|
962 Private method to handle the select to brace action. |
|
963 </p><a NAME="ViewManager.__editShowCallTips" ID="ViewManager.__editShowCallTips"></a> |
|
964 <h4>ViewManager.__editShowCallTips</h4> |
|
965 <b>__editShowCallTips</b>(<i></i>) |
|
966 <p> |
|
967 Private method to handle the calltips action. |
|
968 </p><a NAME="ViewManager.__editSmartIndent" ID="ViewManager.__editSmartIndent"></a> |
|
969 <h4>ViewManager.__editSmartIndent</h4> |
|
970 <b>__editSmartIndent</b>(<i></i>) |
|
971 <p> |
|
972 Private method to handle the smart indent action |
|
973 </p><a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a> |
|
974 <h4>ViewManager.__editStreamComment</h4> |
|
975 <b>__editStreamComment</b>(<i></i>) |
|
976 <p> |
|
977 Private method to handle the stream comment action. |
|
978 </p><a NAME="ViewManager.__editUncomment" ID="ViewManager.__editUncomment"></a> |
|
979 <h4>ViewManager.__editUncomment</h4> |
|
980 <b>__editUncomment</b>(<i></i>) |
|
981 <p> |
|
982 Private method to handle the uncomment action. |
|
983 </p><a NAME="ViewManager.__editUndo" ID="ViewManager.__editUndo"></a> |
|
984 <h4>ViewManager.__editUndo</h4> |
|
985 <b>__editUndo</b>(<i></i>) |
|
986 <p> |
|
987 Private method to handle the undo action. |
|
988 </p><a NAME="ViewManager.__editUnindent" ID="ViewManager.__editUnindent"></a> |
|
989 <h4>ViewManager.__editUnindent</h4> |
|
990 <b>__editUnindent</b>(<i></i>) |
|
991 <p> |
|
992 Private method to handle the unindent action. |
|
993 </p><a NAME="ViewManager.__editorAutoCompletionAPIsAvailable" ID="ViewManager.__editorAutoCompletionAPIsAvailable"></a> |
|
994 <h4>ViewManager.__editorAutoCompletionAPIsAvailable</h4> |
|
995 <b>__editorAutoCompletionAPIsAvailable</b>(<i>available</i>) |
|
996 <p> |
|
997 Private method to handle the availability of API autocompletion signal. |
|
998 </p><a NAME="ViewManager.__editorCommand" ID="ViewManager.__editorCommand"></a> |
|
999 <h4>ViewManager.__editorCommand</h4> |
|
1000 <b>__editorCommand</b>(<i>cmd</i>) |
|
1001 <p> |
|
1002 Private method to send an editor command to the active window. |
|
1003 </p><dl> |
|
1004 <dt><i>cmd</i></dt> |
|
1005 <dd> |
|
1006 the scintilla command to be sent |
|
1007 </dd> |
|
1008 </dl><a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> |
|
1009 <h4>ViewManager.__editorConfigChanged</h4> |
|
1010 <b>__editorConfigChanged</b>(<i></i>) |
|
1011 <p> |
|
1012 Private method to handle changes of an editors configuration (e.g. language). |
|
1013 </p><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> |
|
1014 <h4>ViewManager.__editorOpened</h4> |
|
1015 <b>__editorOpened</b>(<i></i>) |
|
1016 <p> |
|
1017 Private slot to handle the editorOpened signal. |
|
1018 </p><a NAME="ViewManager.__editorSaved" ID="ViewManager.__editorSaved"></a> |
|
1019 <h4>ViewManager.__editorSaved</h4> |
|
1020 <b>__editorSaved</b>(<i>fn</i>) |
|
1021 <p> |
|
1022 Private slot to handle the editorSaved signal. |
|
1023 </p><p> |
|
1024 It simply reemits the signal. |
|
1025 </p><dl> |
|
1026 <dt><i>fn</i></dt> |
|
1027 <dd> |
|
1028 filename of the saved editor |
|
1029 </dd> |
|
1030 </dl><a NAME="ViewManager.__enableSpellingActions" ID="ViewManager.__enableSpellingActions"></a> |
|
1031 <h4>ViewManager.__enableSpellingActions</h4> |
|
1032 <b>__enableSpellingActions</b>(<i></i>) |
|
1033 <p> |
|
1034 Private method to set the enabled state of the spelling actions. |
|
1035 </p><a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a> |
|
1036 <h4>ViewManager.__exportMenuTriggered</h4> |
|
1037 <b>__exportMenuTriggered</b>(<i>act</i>) |
|
1038 <p> |
|
1039 Private method to handle the selection of an export format. |
|
1040 </p><dl> |
|
1041 <dt><i>act</i></dt> |
|
1042 <dd> |
|
1043 reference to the action that was triggered (QAction) |
|
1044 </dd> |
|
1045 </dl><a NAME="ViewManager.__findFileName" ID="ViewManager.__findFileName"></a> |
|
1046 <h4>ViewManager.__findFileName</h4> |
|
1047 <b>__findFileName</b>(<i></i>) |
|
1048 <p> |
|
1049 Private method to handle the search for file action. |
|
1050 </p><a NAME="ViewManager.__goto" ID="ViewManager.__goto"></a> |
|
1051 <h4>ViewManager.__goto</h4> |
|
1052 <b>__goto</b>(<i></i>) |
|
1053 <p> |
|
1054 Private method to handle the goto action. |
|
1055 </p><a NAME="ViewManager.__gotoBrace" ID="ViewManager.__gotoBrace"></a> |
|
1056 <h4>ViewManager.__gotoBrace</h4> |
|
1057 <b>__gotoBrace</b>(<i></i>) |
|
1058 <p> |
|
1059 Private method to handle the goto brace action. |
|
1060 </p><a NAME="ViewManager.__gotoSyntaxError" ID="ViewManager.__gotoSyntaxError"></a> |
|
1061 <h4>ViewManager.__gotoSyntaxError</h4> |
|
1062 <b>__gotoSyntaxError</b>(<i></i>) |
|
1063 <p> |
|
1064 Private method to handle the goto syntax error action. |
|
1065 </p><a NAME="ViewManager.__initBookmarkActions" ID="ViewManager.__initBookmarkActions"></a> |
|
1066 <h4>ViewManager.__initBookmarkActions</h4> |
|
1067 <b>__initBookmarkActions</b>(<i></i>) |
|
1068 <p> |
|
1069 Private method defining the user interface actions for the bookmarks commands. |
|
1070 </p><a NAME="ViewManager.__initContextMenuExporters" ID="ViewManager.__initContextMenuExporters"></a> |
|
1071 <h4>ViewManager.__initContextMenuExporters</h4> |
|
1072 <b>__initContextMenuExporters</b>(<i></i>) |
|
1073 <p> |
|
1074 Private method used to setup the Exporters sub menu. |
|
1075 </p><a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a> |
|
1076 <h4>ViewManager.__initEditActions</h4> |
|
1077 <b>__initEditActions</b>(<i></i>) |
|
1078 <p> |
|
1079 Private method defining the user interface actions for the edit commands. |
|
1080 </p><a NAME="ViewManager.__initFileActions" ID="ViewManager.__initFileActions"></a> |
|
1081 <h4>ViewManager.__initFileActions</h4> |
|
1082 <b>__initFileActions</b>(<i></i>) |
|
1083 <p> |
|
1084 Private method defining the user interface actions for file handling. |
|
1085 </p><a NAME="ViewManager.__initMacroActions" ID="ViewManager.__initMacroActions"></a> |
|
1086 <h4>ViewManager.__initMacroActions</h4> |
|
1087 <b>__initMacroActions</b>(<i></i>) |
|
1088 <p> |
|
1089 Private method defining the user interface actions for the macro commands. |
|
1090 </p><a NAME="ViewManager.__initSearchActions" ID="ViewManager.__initSearchActions"></a> |
|
1091 <h4>ViewManager.__initSearchActions</h4> |
|
1092 <b>__initSearchActions</b>(<i></i>) |
|
1093 <p> |
|
1094 Private method defining the user interface actions for the search commands. |
|
1095 </p><a NAME="ViewManager.__initSpellingActions" ID="ViewManager.__initSpellingActions"></a> |
|
1096 <h4>ViewManager.__initSpellingActions</h4> |
|
1097 <b>__initSpellingActions</b>(<i></i>) |
|
1098 <p> |
|
1099 Private method to initialize the spell checking actions. |
|
1100 </p><a NAME="ViewManager.__initViewActions" ID="ViewManager.__initViewActions"></a> |
|
1101 <h4>ViewManager.__initViewActions</h4> |
|
1102 <b>__initViewActions</b>(<i></i>) |
|
1103 <p> |
|
1104 Private method defining the user interface actions for the view commands. |
|
1105 </p><a NAME="ViewManager.__lastEditorClosed" ID="ViewManager.__lastEditorClosed"></a> |
|
1106 <h4>ViewManager.__lastEditorClosed</h4> |
|
1107 <b>__lastEditorClosed</b>(<i></i>) |
|
1108 <p> |
|
1109 Private slot to handle the lastEditorClosed signal. |
|
1110 </p><a NAME="ViewManager.__loadRecent" ID="ViewManager.__loadRecent"></a> |
|
1111 <h4>ViewManager.__loadRecent</h4> |
|
1112 <b>__loadRecent</b>(<i></i>) |
|
1113 <p> |
|
1114 Private method to load the recently opened filenames. |
|
1115 </p><a NAME="ViewManager.__macroDelete" ID="ViewManager.__macroDelete"></a> |
|
1116 <h4>ViewManager.__macroDelete</h4> |
|
1117 <b>__macroDelete</b>(<i></i>) |
|
1118 <p> |
|
1119 Private method to handle the delete macro action. |
|
1120 </p><a NAME="ViewManager.__macroLoad" ID="ViewManager.__macroLoad"></a> |
|
1121 <h4>ViewManager.__macroLoad</h4> |
|
1122 <b>__macroLoad</b>(<i></i>) |
|
1123 <p> |
|
1124 Private method to handle the load macro action. |
|
1125 </p><a NAME="ViewManager.__macroRun" ID="ViewManager.__macroRun"></a> |
|
1126 <h4>ViewManager.__macroRun</h4> |
|
1127 <b>__macroRun</b>(<i></i>) |
|
1128 <p> |
|
1129 Private method to handle the run macro action. |
|
1130 </p><a NAME="ViewManager.__macroSave" ID="ViewManager.__macroSave"></a> |
|
1131 <h4>ViewManager.__macroSave</h4> |
|
1132 <b>__macroSave</b>(<i></i>) |
|
1133 <p> |
|
1134 Private method to handle the save macro action. |
|
1135 </p><a NAME="ViewManager.__macroStartRecording" ID="ViewManager.__macroStartRecording"></a> |
|
1136 <h4>ViewManager.__macroStartRecording</h4> |
|
1137 <b>__macroStartRecording</b>(<i></i>) |
|
1138 <p> |
|
1139 Private method to handle the start macro recording action. |
|
1140 </p><a NAME="ViewManager.__macroStopRecording" ID="ViewManager.__macroStopRecording"></a> |
|
1141 <h4>ViewManager.__macroStopRecording</h4> |
|
1142 <b>__macroStopRecording</b>(<i></i>) |
|
1143 <p> |
|
1144 Private method to handle the stop macro recording action. |
|
1145 </p><a NAME="ViewManager.__newLineBelow" ID="ViewManager.__newLineBelow"></a> |
|
1146 <h4>ViewManager.__newLineBelow</h4> |
|
1147 <b>__newLineBelow</b>(<i></i>) |
|
1148 <p> |
|
1149 Private method to insert a new line below the current one even if |
|
1150 cursor is not at the end of the line. |
|
1151 </p><a NAME="ViewManager.__nextBookmark" ID="ViewManager.__nextBookmark"></a> |
|
1152 <h4>ViewManager.__nextBookmark</h4> |
|
1153 <b>__nextBookmark</b>(<i></i>) |
|
1154 <p> |
|
1155 Private method to handle the next bookmark action. |
|
1156 </p><a NAME="ViewManager.__nextTask" ID="ViewManager.__nextTask"></a> |
|
1157 <h4>ViewManager.__nextTask</h4> |
|
1158 <b>__nextTask</b>(<i></i>) |
|
1159 <p> |
|
1160 Private method to handle the next task action. |
|
1161 </p><a NAME="ViewManager.__nextUncovered" ID="ViewManager.__nextUncovered"></a> |
|
1162 <h4>ViewManager.__nextUncovered</h4> |
|
1163 <b>__nextUncovered</b>(<i></i>) |
|
1164 <p> |
|
1165 Private method to handle the next uncovered action. |
|
1166 </p><a NAME="ViewManager.__openSourceFile" ID="ViewManager.__openSourceFile"></a> |
|
1167 <h4>ViewManager.__openSourceFile</h4> |
|
1168 <b>__openSourceFile</b>(<i>act</i>) |
|
1169 <p> |
|
1170 Private method to open a file from the list of rencently opened files. |
|
1171 </p><dl> |
|
1172 <dt><i>act</i></dt> |
|
1173 <dd> |
|
1174 reference to the action that triggered (QAction) |
|
1175 </dd> |
|
1176 </dl><a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> |
|
1177 <h4>ViewManager.__previousBookmark</h4> |
|
1178 <b>__previousBookmark</b>(<i></i>) |
|
1179 <p> |
|
1180 Private method to handle the previous bookmark action. |
|
1181 </p><a NAME="ViewManager.__previousTask" ID="ViewManager.__previousTask"></a> |
|
1182 <h4>ViewManager.__previousTask</h4> |
|
1183 <b>__previousTask</b>(<i></i>) |
|
1184 <p> |
|
1185 Private method to handle the previous task action. |
|
1186 </p><a NAME="ViewManager.__previousUncovered" ID="ViewManager.__previousUncovered"></a> |
|
1187 <h4>ViewManager.__previousUncovered</h4> |
|
1188 <b>__previousUncovered</b>(<i></i>) |
|
1189 <p> |
|
1190 Private method to handle the previous uncovered action. |
|
1191 </p><a NAME="ViewManager.__quickSearch" ID="ViewManager.__quickSearch"></a> |
|
1192 <h4>ViewManager.__quickSearch</h4> |
|
1193 <b>__quickSearch</b>(<i></i>) |
|
1194 <p> |
|
1195 Private slot to handle the incremental quick search. |
|
1196 </p><a NAME="ViewManager.__quickSearchEnter" ID="ViewManager.__quickSearchEnter"></a> |
|
1197 <h4>ViewManager.__quickSearchEnter</h4> |
|
1198 <b>__quickSearchEnter</b>(<i></i>) |
|
1199 <p> |
|
1200 Private slot to handle the incremental quick search return pressed |
|
1201 (jump back to text) |
|
1202 </p><a NAME="ViewManager.__quickSearchEscape" ID="ViewManager.__quickSearchEscape"></a> |
|
1203 <h4>ViewManager.__quickSearchEscape</h4> |
|
1204 <b>__quickSearchEscape</b>(<i></i>) |
|
1205 <p> |
|
1206 Private slot to handle the incremental quick search escape pressed |
|
1207 (jump back to text) |
|
1208 </p><a NAME="ViewManager.__quickSearchExtend" ID="ViewManager.__quickSearchExtend"></a> |
|
1209 <h4>ViewManager.__quickSearchExtend</h4> |
|
1210 <b>__quickSearchExtend</b>(<i></i>) |
|
1211 <p> |
|
1212 Private method to handle the quicksearch extend action. |
|
1213 </p><a NAME="ViewManager.__quickSearchFocusIn" ID="ViewManager.__quickSearchFocusIn"></a> |
|
1214 <h4>ViewManager.__quickSearchFocusIn</h4> |
|
1215 <b>__quickSearchFocusIn</b>(<i></i>) |
|
1216 <p> |
|
1217 Private method to handle a focus in signal of the quicksearch lineedit. |
|
1218 </p><a NAME="ViewManager.__quickSearchInEditor" ID="ViewManager.__quickSearchInEditor"></a> |
|
1219 <h4>ViewManager.__quickSearchInEditor</h4> |
|
1220 <b>__quickSearchInEditor</b>(<i>again, back</i>) |
|
1221 <p> |
|
1222 Private slot to perform a quick search. |
|
1223 </p><dl> |
|
1224 <dt><i>again</i></dt> |
|
1225 <dd> |
|
1226 flag indicating a repeat of the last search (boolean) |
|
1227 </dd><dt><i>back</i></dt> |
|
1228 <dd> |
|
1229 flag indicating a backwards search operation (boolean) |
|
1230 </dd> |
|
1231 </dl><a NAME="ViewManager.__quickSearchMarkOccurrences" ID="ViewManager.__quickSearchMarkOccurrences"></a> |
|
1232 <h4>ViewManager.__quickSearchMarkOccurrences</h4> |
|
1233 <b>__quickSearchMarkOccurrences</b>(<i>txt</i>) |
|
1234 <p> |
|
1235 Private method to mark all occurrences of the search text. |
|
1236 </p><dl> |
|
1237 <dt><i>txt</i></dt> |
|
1238 <dd> |
|
1239 text to search for (string) |
|
1240 </dd> |
|
1241 </dl><a NAME="ViewManager.__quickSearchPrev" ID="ViewManager.__quickSearchPrev"></a> |
|
1242 <h4>ViewManager.__quickSearchPrev</h4> |
|
1243 <b>__quickSearchPrev</b>(<i></i>) |
|
1244 <p> |
|
1245 Private slot to handle the quickFindPrev toolbutton action. |
|
1246 </p><a NAME="ViewManager.__quickSearchText" ID="ViewManager.__quickSearchText"></a> |
|
1247 <h4>ViewManager.__quickSearchText</h4> |
|
1248 <b>__quickSearchText</b>(<i></i>) |
|
1249 <p> |
|
1250 Private slot to handle the textChanged signal of the quicksearch edit. |
|
1251 </p><a NAME="ViewManager.__replace" ID="ViewManager.__replace"></a> |
|
1252 <h4>ViewManager.__replace</h4> |
|
1253 <b>__replace</b>(<i></i>) |
|
1254 <p> |
|
1255 Private method to handle the replace action. |
|
1256 </p><a NAME="ViewManager.__replaceFiles" ID="ViewManager.__replaceFiles"></a> |
|
1257 <h4>ViewManager.__replaceFiles</h4> |
|
1258 <b>__replaceFiles</b>(<i></i>) |
|
1259 <p> |
|
1260 Private method to handle the replace in files action. |
|
1261 </p><a NAME="ViewManager.__saveRecent" ID="ViewManager.__saveRecent"></a> |
|
1262 <h4>ViewManager.__saveRecent</h4> |
|
1263 <b>__saveRecent</b>(<i></i>) |
|
1264 <p> |
|
1265 Private method to save the list of recently opened filenames. |
|
1266 </p><a NAME="ViewManager.__search" ID="ViewManager.__search"></a> |
|
1267 <h4>ViewManager.__search</h4> |
|
1268 <b>__search</b>(<i></i>) |
|
1269 <p> |
|
1270 Private method to handle the search action. |
|
1271 </p><a NAME="ViewManager.__searchClearMarkers" ID="ViewManager.__searchClearMarkers"></a> |
|
1272 <h4>ViewManager.__searchClearMarkers</h4> |
|
1273 <b>__searchClearMarkers</b>(<i></i>) |
|
1274 <p> |
|
1275 Private method to clear the search markers of the active window. |
|
1276 </p><a NAME="ViewManager.__searchFiles" ID="ViewManager.__searchFiles"></a> |
|
1277 <h4>ViewManager.__searchFiles</h4> |
|
1278 <b>__searchFiles</b>(<i></i>) |
|
1279 <p> |
|
1280 Private method to handle the search in files action. |
|
1281 </p><a NAME="ViewManager.__setAutoSpellChecking" ID="ViewManager.__setAutoSpellChecking"></a> |
|
1282 <h4>ViewManager.__setAutoSpellChecking</h4> |
|
1283 <b>__setAutoSpellChecking</b>(<i></i>) |
|
1284 <p> |
|
1285 Private slot to set the automatic spell checking of all editors. |
|
1286 </p><a NAME="ViewManager.__setSbFile" ID="ViewManager.__setSbFile"></a> |
|
1287 <h4>ViewManager.__setSbFile</h4> |
|
1288 <b>__setSbFile</b>(<i>fn = None, line = None, pos = None, encoding = None, language = None, eol = None</i>) |
|
1289 <p> |
|
1290 Private method to set the file info in the status bar. |
|
1291 </p><dl> |
|
1292 <dt><i>fn</i></dt> |
|
1293 <dd> |
|
1294 filename to display (string) |
|
1295 </dd><dt><i>line</i></dt> |
|
1296 <dd> |
|
1297 line number to display (int) |
|
1298 </dd><dt><i>pos</i></dt> |
|
1299 <dd> |
|
1300 character position to display (int) |
|
1301 </dd><dt><i>encoding</i></dt> |
|
1302 <dd> |
|
1303 encoding name to display (string) |
|
1304 </dd><dt><i>language</i></dt> |
|
1305 <dd> |
|
1306 language to display (string) |
|
1307 </dd><dt><i>eol</i></dt> |
|
1308 <dd> |
|
1309 eol indicator to display (string) |
|
1310 </dd> |
|
1311 </dl><a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a> |
|
1312 <h4>ViewManager.__shortenEmptyLines</h4> |
|
1313 <b>__shortenEmptyLines</b>(<i></i>) |
|
1314 <p> |
|
1315 Private method to handle the shorten empty lines action. |
|
1316 </p><a NAME="ViewManager.__showBookmarkMenu" ID="ViewManager.__showBookmarkMenu"></a> |
|
1317 <h4>ViewManager.__showBookmarkMenu</h4> |
|
1318 <b>__showBookmarkMenu</b>(<i></i>) |
|
1319 <p> |
|
1320 Private method to set up the bookmark menu. |
|
1321 </p><a NAME="ViewManager.__showBookmarkedMenu" ID="ViewManager.__showBookmarkedMenu"></a> |
|
1322 <h4>ViewManager.__showBookmarkedMenu</h4> |
|
1323 <b>__showBookmarkedMenu</b>(<i></i>) |
|
1324 <p> |
|
1325 Private method to set up bookmarked files menu. |
|
1326 </p><a NAME="ViewManager.__showBookmarksMenu" ID="ViewManager.__showBookmarksMenu"></a> |
|
1327 <h4>ViewManager.__showBookmarksMenu</h4> |
|
1328 <b>__showBookmarksMenu</b>(<i></i>) |
|
1329 <p> |
|
1330 Private method to handle the show bookmarks menu signal. |
|
1331 </p><a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a> |
|
1332 <h4>ViewManager.__showFileMenu</h4> |
|
1333 <b>__showFileMenu</b>(<i></i>) |
|
1334 <p> |
|
1335 Private method to set up the file menu. |
|
1336 </p><a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a> |
|
1337 <h4>ViewManager.__showRecentMenu</h4> |
|
1338 <b>__showRecentMenu</b>(<i></i>) |
|
1339 <p> |
|
1340 Private method to set up recent files menu. |
|
1341 </p><a NAME="ViewManager.__spellCheck" ID="ViewManager.__spellCheck"></a> |
|
1342 <h4>ViewManager.__spellCheck</h4> |
|
1343 <b>__spellCheck</b>(<i></i>) |
|
1344 <p> |
|
1345 Private slot to perform a spell check of the current editor. |
|
1346 </p><a NAME="ViewManager.__splitOrientation" ID="ViewManager.__splitOrientation"></a> |
|
1347 <h4>ViewManager.__splitOrientation</h4> |
|
1348 <b>__splitOrientation</b>(<i>checked</i>) |
|
1349 <p> |
|
1350 Private method to handle the split orientation action. |
|
1351 </p><a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a> |
|
1352 <h4>ViewManager.__splitView</h4> |
|
1353 <b>__splitView</b>(<i></i>) |
|
1354 <p> |
|
1355 Private method to handle the split view action. |
|
1356 </p><a NAME="ViewManager.__taskMarkersUpdated" ID="ViewManager.__taskMarkersUpdated"></a> |
|
1357 <h4>ViewManager.__taskMarkersUpdated</h4> |
|
1358 <b>__taskMarkersUpdated</b>(<i>editor</i>) |
|
1359 <p> |
|
1360 Protected slot to handle the syntaxerrorToggled signal. |
|
1361 </p><p> |
|
1362 It checks some syntax error actions and reemits the signal. |
|
1363 </p><dl> |
|
1364 <dt><i>editor</i></dt> |
|
1365 <dd> |
|
1366 editor that sent the signal |
|
1367 </dd> |
|
1368 </dl><a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a> |
|
1369 <h4>ViewManager.__toggleAll</h4> |
|
1370 <b>__toggleAll</b>(<i></i>) |
|
1371 <p> |
|
1372 Private method to handle the toggle all folds action. |
|
1373 </p><a NAME="ViewManager.__toggleAllChildren" ID="ViewManager.__toggleAllChildren"></a> |
|
1374 <h4>ViewManager.__toggleAllChildren</h4> |
|
1375 <b>__toggleAllChildren</b>(<i></i>) |
|
1376 <p> |
|
1377 Private method to handle the toggle all folds (including children) action. |
|
1378 </p><a NAME="ViewManager.__toggleBookmark" ID="ViewManager.__toggleBookmark"></a> |
|
1379 <h4>ViewManager.__toggleBookmark</h4> |
|
1380 <b>__toggleBookmark</b>(<i></i>) |
|
1381 <p> |
|
1382 Private method to handle the toggle bookmark action. |
|
1383 </p><a NAME="ViewManager.__toggleCurrent" ID="ViewManager.__toggleCurrent"></a> |
|
1384 <h4>ViewManager.__toggleCurrent</h4> |
|
1385 <b>__toggleCurrent</b>(<i></i>) |
|
1386 <p> |
|
1387 Private method to handle the toggle current fold action. |
|
1388 </p><a NAME="ViewManager.__zoom" ID="ViewManager.__zoom"></a> |
|
1389 <h4>ViewManager.__zoom</h4> |
|
1390 <b>__zoom</b>(<i></i>) |
|
1391 <p> |
|
1392 Private method to handle the zoom action. |
|
1393 </p><a NAME="ViewManager.__zoomIn" ID="ViewManager.__zoomIn"></a> |
|
1394 <h4>ViewManager.__zoomIn</h4> |
|
1395 <b>__zoomIn</b>(<i></i>) |
|
1396 <p> |
|
1397 Private method to handle the zoom in action. |
|
1398 </p><a NAME="ViewManager.__zoomOut" ID="ViewManager.__zoomOut"></a> |
|
1399 <h4>ViewManager.__zoomOut</h4> |
|
1400 <b>__zoomOut</b>(<i></i>) |
|
1401 <p> |
|
1402 Private method to handle the zoom out action. |
|
1403 </p><a NAME="ViewManager._addView" ID="ViewManager._addView"></a> |
|
1404 <h4>ViewManager._addView</h4> |
|
1405 <b>_addView</b>(<i>win, fn=None, noName=""</i>) |
|
1406 <p> |
|
1407 Protected method to add a view (i.e. window) |
|
1408 </p><dl> |
|
1409 <dt><i>win</i></dt> |
|
1410 <dd> |
|
1411 editor window to be added |
|
1412 </dd><dt><i>fn</i></dt> |
|
1413 <dd> |
|
1414 filename of this editor |
|
1415 </dd><dt><i>noName</i></dt> |
|
1416 <dd> |
|
1417 name to be used for an unnamed editor (string) |
|
1418 </dd> |
|
1419 </dl><dl> |
|
1420 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1421 <dd> |
|
1422 Not implemented |
|
1423 </dd> |
|
1424 </dl><a NAME="ViewManager._checkActions" ID="ViewManager._checkActions"></a> |
|
1425 <h4>ViewManager._checkActions</h4> |
|
1426 <b>_checkActions</b>(<i>editor, setSb = True</i>) |
|
1427 <p> |
|
1428 Protected slot to check some actions for their enable/disable status |
|
1429 and set the statusbar info. |
|
1430 </p><dl> |
|
1431 <dt><i>editor</i></dt> |
|
1432 <dd> |
|
1433 editor window |
|
1434 </dd><dt><i>setSb</i></dt> |
|
1435 <dd> |
|
1436 flag indicating an update of the status bar is wanted (boolean) |
|
1437 </dd> |
|
1438 </dl><a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a> |
|
1439 <h4>ViewManager._getOpenFileFilter</h4> |
|
1440 <b>_getOpenFileFilter</b>(<i></i>) |
|
1441 <p> |
|
1442 Protected method to return the active filename filter for a file open dialog. |
|
1443 </p><p> |
|
1444 The appropriate filename filter is determined by file extension of |
|
1445 the currently active editor. |
|
1446 </p><dl> |
|
1447 <dt>Returns:</dt> |
|
1448 <dd> |
|
1449 name of the filename filter (string) or None |
|
1450 </dd> |
|
1451 </dl><a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a> |
|
1452 <h4>ViewManager._getOpenStartDir</h4> |
|
1453 <b>_getOpenStartDir</b>(<i></i>) |
|
1454 <p> |
|
1455 Protected method to return the starting directory for a file open dialog. |
|
1456 </p><p> |
|
1457 The appropriate starting directory is calculated |
|
1458 using the following search order, until a match is found:<br /> |
|
1459 1: Directory of currently active editor<br /> |
|
1460 2: Directory of currently active Project<br /> |
|
1461 3: CWD |
|
1462 </p><dl> |
|
1463 <dt>Returns:</dt> |
|
1464 <dd> |
|
1465 name of directory to start (string) |
|
1466 </dd> |
|
1467 </dl><a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a> |
|
1468 <h4>ViewManager._initWindowActions</h4> |
|
1469 <b>_initWindowActions</b>(<i></i>) |
|
1470 <p> |
|
1471 Protected method to define the user interface actions for window handling. |
|
1472 </p><dl> |
|
1473 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1474 <dd> |
|
1475 Not implemented |
|
1476 </dd> |
|
1477 </dl><a NAME="ViewManager._modificationStatusChanged" ID="ViewManager._modificationStatusChanged"></a> |
|
1478 <h4>ViewManager._modificationStatusChanged</h4> |
|
1479 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
|
1480 <p> |
|
1481 Protected slot to handle the modificationStatusChanged signal. |
|
1482 </p><dl> |
|
1483 <dt><i>m</i></dt> |
|
1484 <dd> |
|
1485 flag indicating the modification status (boolean) |
|
1486 </dd><dt><i>editor</i></dt> |
|
1487 <dd> |
|
1488 editor window changed |
|
1489 </dd> |
|
1490 </dl><dl> |
|
1491 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1492 <dd> |
|
1493 Not implemented |
|
1494 </dd> |
|
1495 </dl><a NAME="ViewManager._removeAllViews" ID="ViewManager._removeAllViews"></a> |
|
1496 <h4>ViewManager._removeAllViews</h4> |
|
1497 <b>_removeAllViews</b>(<i></i>) |
|
1498 <p> |
|
1499 Protected method to remove all views (i.e. windows) |
|
1500 </p><dl> |
|
1501 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1502 <dd> |
|
1503 Not implemented |
|
1504 </dd> |
|
1505 </dl><a NAME="ViewManager._removeView" ID="ViewManager._removeView"></a> |
|
1506 <h4>ViewManager._removeView</h4> |
|
1507 <b>_removeView</b>(<i>win</i>) |
|
1508 <p> |
|
1509 Protected method to remove a view (i.e. window) |
|
1510 </p><dl> |
|
1511 <dt><i>win</i></dt> |
|
1512 <dd> |
|
1513 editor window to be removed |
|
1514 </dd> |
|
1515 </dl><dl> |
|
1516 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1517 <dd> |
|
1518 Not implemented |
|
1519 </dd> |
|
1520 </dl><a NAME="ViewManager._showView" ID="ViewManager._showView"></a> |
|
1521 <h4>ViewManager._showView</h4> |
|
1522 <b>_showView</b>(<i>win, fn=None</i>) |
|
1523 <p> |
|
1524 Protected method to show a view (i.e. window) |
|
1525 </p><dl> |
|
1526 <dt><i>win</i></dt> |
|
1527 <dd> |
|
1528 editor window to be shown |
|
1529 </dd><dt><i>fn</i></dt> |
|
1530 <dd> |
|
1531 filename of this editor |
|
1532 </dd> |
|
1533 </dl><dl> |
|
1534 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1535 <dd> |
|
1536 Not implemented |
|
1537 </dd> |
|
1538 </dl><a NAME="ViewManager._syntaxErrorToggled" ID="ViewManager._syntaxErrorToggled"></a> |
|
1539 <h4>ViewManager._syntaxErrorToggled</h4> |
|
1540 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
|
1541 <p> |
|
1542 Protected slot to handle the syntaxerrorToggled signal. |
|
1543 </p><p> |
|
1544 It checks some syntax error actions and reemits the signal. |
|
1545 </p><dl> |
|
1546 <dt><i>editor</i></dt> |
|
1547 <dd> |
|
1548 editor that sent the signal |
|
1549 </dd> |
|
1550 </dl><a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a> |
|
1551 <h4>ViewManager.activeWindow</h4> |
|
1552 <b>activeWindow</b>(<i></i>) |
|
1553 <p> |
|
1554 Public method to return the active (i.e. current) window. |
|
1555 </p><dl> |
|
1556 <dt>Returns:</dt> |
|
1557 <dd> |
|
1558 reference to the active editor |
|
1559 </dd> |
|
1560 </dl><dl> |
|
1561 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1562 <dd> |
|
1563 Not implemented |
|
1564 </dd> |
|
1565 </dl><a NAME="ViewManager.addSplit" ID="ViewManager.addSplit"></a> |
|
1566 <h4>ViewManager.addSplit</h4> |
|
1567 <b>addSplit</b>(<i></i>) |
|
1568 <p> |
|
1569 Public method used to split the current view. |
|
1570 </p><a NAME="ViewManager.addToExtrasMenu" ID="ViewManager.addToExtrasMenu"></a> |
|
1571 <h4>ViewManager.addToExtrasMenu</h4> |
|
1572 <b>addToExtrasMenu</b>(<i>menu</i>) |
|
1573 <p> |
|
1574 Public method to add some actions to the extras menu. |
|
1575 </p><a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a> |
|
1576 <h4>ViewManager.addToRecentList</h4> |
|
1577 <b>addToRecentList</b>(<i>fn</i>) |
|
1578 <p> |
|
1579 Public slot to add a filename to the list of recently opened files. |
|
1580 </p><dl> |
|
1581 <dt><i>fn</i></dt> |
|
1582 <dd> |
|
1583 name of the file to be added |
|
1584 </dd> |
|
1585 </dl><a NAME="ViewManager.canCascade" ID="ViewManager.canCascade"></a> |
|
1586 <h4>ViewManager.canCascade</h4> |
|
1587 <b>canCascade</b>(<i></i>) |
|
1588 <p> |
|
1589 Public method to signal if cascading of managed windows is available. |
|
1590 </p><dl> |
|
1591 <dt>Returns:</dt> |
|
1592 <dd> |
|
1593 flag indicating cascading of windows is available |
|
1594 </dd> |
|
1595 </dl><dl> |
|
1596 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1597 <dd> |
|
1598 Not implemented |
|
1599 </dd> |
|
1600 </dl><a NAME="ViewManager.canSplit" ID="ViewManager.canSplit"></a> |
|
1601 <h4>ViewManager.canSplit</h4> |
|
1602 <b>canSplit</b>(<i></i>) |
|
1603 <p> |
|
1604 Public method to signal if splitting of the view is available. |
|
1605 </p><dl> |
|
1606 <dt>Returns:</dt> |
|
1607 <dd> |
|
1608 flag indicating splitting of the view is available. |
|
1609 </dd> |
|
1610 </dl><a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a> |
|
1611 <h4>ViewManager.canTile</h4> |
|
1612 <b>canTile</b>(<i></i>) |
|
1613 <p> |
|
1614 Public method to signal if tiling of managed windows is available. |
|
1615 </p><dl> |
|
1616 <dt>Returns:</dt> |
|
1617 <dd> |
|
1618 flag indicating tiling of windows is available |
|
1619 </dd> |
|
1620 </dl><dl> |
|
1621 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1622 <dd> |
|
1623 Not implemented |
|
1624 </dd> |
|
1625 </dl><a NAME="ViewManager.cascade" ID="ViewManager.cascade"></a> |
|
1626 <h4>ViewManager.cascade</h4> |
|
1627 <b>cascade</b>(<i></i>) |
|
1628 <p> |
|
1629 Public method to cascade the managed windows. |
|
1630 </p><dl> |
|
1631 <dt>Raises <b>RuntimeError</b>:</dt> |
|
1632 <dd> |
|
1633 Not implemented |
|
1634 </dd> |
|
1635 </dl><a NAME="ViewManager.checkAllDirty" ID="ViewManager.checkAllDirty"></a> |
|
1636 <h4>ViewManager.checkAllDirty</h4> |
|
1637 <b>checkAllDirty</b>(<i></i>) |
|
1638 <p> |
|
1639 Public method to check the dirty status of all editors. |
|
1640 </p><dl> |
|
1641 <dt>Returns:</dt> |
|
1642 <dd> |
|
1643 flag indicating successful reset of all dirty flags (boolean) |
|
1644 </dd> |
|
1645 </dl><a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> |
|
1646 <h4>ViewManager.checkDirty</h4> |
|
1647 <b>checkDirty</b>(<i>editor, autosave = False</i>) |
|
1648 <p> |
|
1649 Public method to check dirty status and open a message window. |
|
1650 </p><dl> |
|
1651 <dt><i>editor</i></dt> |
|
1652 <dd> |
|
1653 editor window to check |
|
1654 </dd><dt><i>autosave</i></dt> |
|
1655 <dd> |
|
1656 flag indicating that the file should be saved |
|
1657 automatically (boolean) |
|
1658 </dd> |
|
1659 </dl><dl> |
|
1660 <dt>Returns:</dt> |
|
1661 <dd> |
|
1662 flag indicating successful reset of the dirty flag (boolean) |
|
1663 </dd> |
|
1664 </dl><a NAME="ViewManager.cloneEditor" ID="ViewManager.cloneEditor"></a> |
|
1665 <h4>ViewManager.cloneEditor</h4> |
|
1666 <b>cloneEditor</b>(<i>caller, filetype, fn</i>) |
|
1667 <p> |
|
1668 Public method to clone an editor displaying the given document. |
|
1669 </p><dl> |
|
1670 <dt><i>caller</i></dt> |
|
1671 <dd> |
|
1672 reference to the editor calling this method |
|
1673 </dd><dt><i>filetype</i></dt> |
|
1674 <dd> |
|
1675 type of the source file (string) |
|
1676 </dd><dt><i>fn</i></dt> |
|
1677 <dd> |
|
1678 filename of this view |
|
1679 </dd> |
|
1680 </dl><dl> |
|
1681 <dt>Returns:</dt> |
|
1682 <dd> |
|
1683 reference to the new editor object (Editor.Editor) |
|
1684 </dd> |
|
1685 </dl><a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a> |
|
1686 <h4>ViewManager.closeAllWindows</h4> |
|
1687 <b>closeAllWindows</b>(<i></i>) |
|
1688 <p> |
|
1689 Private method to close all editor windows via file menu. |
|
1690 </p><a NAME="ViewManager.closeCurrentWindow" ID="ViewManager.closeCurrentWindow"></a> |
|
1691 <h4>ViewManager.closeCurrentWindow</h4> |
|
1692 <b>closeCurrentWindow</b>(<i></i>) |
|
1693 <p> |
|
1694 Public method to close the current window. |
|
1695 </p><dl> |
|
1696 <dt>Returns:</dt> |
|
1697 <dd> |
|
1698 flag indicating success (boolean) |
|
1699 </dd> |
|
1700 </dl><a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a> |
|
1701 <h4>ViewManager.closeEditor</h4> |
|
1702 <b>closeEditor</b>(<i>editor</i>) |
|
1703 <p> |
|
1704 Public method to close an editor window. |
|
1705 </p><dl> |
|
1706 <dt><i>editor</i></dt> |
|
1707 <dd> |
|
1708 editor window to be closed |
|
1709 </dd> |
|
1710 </dl><dl> |
|
1711 <dt>Returns:</dt> |
|
1712 <dd> |
|
1713 flag indicating success (boolean) |
|
1714 </dd> |
|
1715 </dl><a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a> |
|
1716 <h4>ViewManager.closeEditorWindow</h4> |
|
1717 <b>closeEditorWindow</b>(<i>editor</i>) |
|
1718 <p> |
|
1719 Public method to close an arbitrary source editor. |
|
1720 </p><dl> |
|
1721 <dt><i>editor</i></dt> |
|
1722 <dd> |
|
1723 editor to be closed |
|
1724 </dd> |
|
1725 </dl><a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a> |
|
1726 <h4>ViewManager.closeViewManager</h4> |
|
1727 <b>closeViewManager</b>(<i></i>) |
|
1728 <p> |
|
1729 Public method to shutdown the viewmanager. |
|
1730 </p><p> |
|
1731 If it cannot close all editor windows, it aborts the shutdown process. |
|
1732 </p><dl> |
|
1733 <dt>Returns:</dt> |
|
1734 <dd> |
|
1735 flag indicating success (boolean) |
|
1736 </dd> |
|
1737 </dl><a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a> |
|
1738 <h4>ViewManager.closeWindow</h4> |
|
1739 <b>closeWindow</b>(<i>fn</i>) |
|
1740 <p> |
|
1741 Public method to close an arbitrary source editor. |
|
1742 </p><dl> |
|
1743 <dt><i>fn</i></dt> |
|
1744 <dd> |
|
1745 filename of editor to be closed |
|
1746 </dd> |
|
1747 </dl><dl> |
|
1748 <dt>Returns:</dt> |
|
1749 <dd> |
|
1750 flag indicating success (boolean) |
|
1751 </dd> |
|
1752 </dl><a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a> |
|
1753 <h4>ViewManager.editorsCheckFocusInEnabled</h4> |
|
1754 <b>editorsCheckFocusInEnabled</b>(<i></i>) |
|
1755 <p> |
|
1756 Public method returning the flag indicating editors should perform |
|
1757 focus in checks. |
|
1758 </p><dl> |
|
1759 <dt>Returns:</dt> |
|
1760 <dd> |
|
1761 flag indicating focus in checks should be performed (boolean) |
|
1762 </dd> |
|
1763 </dl><a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a> |
|
1764 <h4>ViewManager.enableEditorsCheckFocusIn</h4> |
|
1765 <b>enableEditorsCheckFocusIn</b>(<i>enabled</i>) |
|
1766 <p> |
|
1767 Public method to set a flag enabling the editors to perform focus in checks. |
|
1768 </p><dl> |
|
1769 <dt><i>enabled</i></dt> |
|
1770 <dd> |
|
1771 flag indicating focus in checks should be performed (boolean) |
|
1772 </dd> |
|
1773 </dl><a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a> |
|
1774 <h4>ViewManager.eventFilter</h4> |
|
1775 <b>eventFilter</b>(<i>object, event</i>) |
|
1776 <p> |
|
1777 Public method called to filter an event. |
|
1778 </p><dl> |
|
1779 <dt><i>object</i></dt> |
|
1780 <dd> |
|
1781 object, that generated the event (QObject) |
|
1782 </dd><dt><i>event</i></dt> |
|
1783 <dd> |
|
1784 the event, that was generated by object (QEvent) |
|
1785 </dd> |
|
1786 </dl><dl> |
|
1787 <dt>Returns:</dt> |
|
1788 <dd> |
|
1789 flag indicating if event was filtered out |
|
1790 </dd> |
|
1791 </dl><a NAME="ViewManager.exit" ID="ViewManager.exit"></a> |
|
1792 <h4>ViewManager.exit</h4> |
|
1793 <b>exit</b>(<i></i>) |
|
1794 <p> |
|
1795 Public method to handle the debugged program terminating. |
|
1796 </p><a NAME="ViewManager.getAPIsManager" ID="ViewManager.getAPIsManager"></a> |
|
1797 <h4>ViewManager.getAPIsManager</h4> |
|
1798 <b>getAPIsManager</b>(<i></i>) |
|
1799 <p> |
|
1800 Public method to get a reference to the APIs manager. |
|
1801 </p><dl> |
|
1802 <dt>Returns:</dt> |
|
1803 <dd> |
|
1804 the APIs manager object (eric4.QScintilla.APIsManager) |
|
1805 </dd> |
|
1806 </dl><a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a> |
|
1807 <h4>ViewManager.getActions</h4> |
|
1808 <b>getActions</b>(<i>type</i>) |
|
1809 <p> |
|
1810 Public method to get a list of all actions. |
|
1811 </p><dl> |
|
1812 <dt><i>type</i></dt> |
|
1813 <dd> |
|
1814 string denoting the action set to get. |
|
1815 It must be one of "edit", "file", "search", |
|
1816 "view", "window", "macro" or "bookmark" |
|
1817 </dd> |
|
1818 </dl><dl> |
|
1819 <dt>Returns:</dt> |
|
1820 <dd> |
|
1821 list of all actions (list of E4Action) |
|
1822 </dd> |
|
1823 </dl><a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a> |
|
1824 <h4>ViewManager.getActiveName</h4> |
|
1825 <b>getActiveName</b>(<i></i>) |
|
1826 <p> |
|
1827 Public method to retrieve the filename of the active window. |
|
1828 </p><dl> |
|
1829 <dt>Returns:</dt> |
|
1830 <dd> |
|
1831 filename of active window (string) |
|
1832 </dd> |
|
1833 </dl><a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a> |
|
1834 <h4>ViewManager.getEditor</h4> |
|
1835 <b>getEditor</b>(<i>fn, filetype = ""</i>) |
|
1836 <p> |
|
1837 Public method to return the editor displaying the given file. |
|
1838 </p><p> |
|
1839 If there is no editor with the given file, a new editor window is |
|
1840 created. |
|
1841 </p><dl> |
|
1842 <dt><i>fn</i></dt> |
|
1843 <dd> |
|
1844 filename to look for |
|
1845 </dd><dt><i>filetype</i></dt> |
|
1846 <dd> |
|
1847 type of the source file (string) |
|
1848 </dd> |
|
1849 </dl><dl> |
|
1850 <dt>Returns:</dt> |
|
1851 <dd> |
|
1852 tuple of two values giving a flag indicating a new window creation and |
|
1853 a reference to the editor displaying this file |
|
1854 </dd> |
|
1855 </dl><a NAME="ViewManager.getMostRecent" ID="ViewManager.getMostRecent"></a> |
|
1856 <h4>ViewManager.getMostRecent</h4> |
|
1857 <b>getMostRecent</b>(<i></i>) |
|
1858 <p> |
|
1859 Public method to get the most recently opened file. |
|
1860 </p><dl> |
|
1861 <dt>Returns:</dt> |
|
1862 <dd> |
|
1863 path of the most recently opened file (string) |
|
1864 </dd> |
|
1865 </dl><a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a> |
|
1866 <h4>ViewManager.getOpenEditor</h4> |
|
1867 <b>getOpenEditor</b>(<i>fn</i>) |
|
1868 <p> |
|
1869 Public method to return the editor displaying the given file. |
|
1870 </p><dl> |
|
1871 <dt><i>fn</i></dt> |
|
1872 <dd> |
|
1873 filename to look for |
|
1874 </dd> |
|
1875 </dl><dl> |
|
1876 <dt>Returns:</dt> |
|
1877 <dd> |
|
1878 a reference to the editor displaying this file or None, if |
|
1879 no editor was found |
|
1880 </dd> |
|
1881 </dl><a NAME="ViewManager.getOpenEditorCount" ID="ViewManager.getOpenEditorCount"></a> |
|
1882 <h4>ViewManager.getOpenEditorCount</h4> |
|
1883 <b>getOpenEditorCount</b>(<i>fn</i>) |
|
1884 <p> |
|
1885 Public method to return the count of editors displaying the given file. |
|
1886 </p><dl> |
|
1887 <dt><i>fn</i></dt> |
|
1888 <dd> |
|
1889 filename to look for |
|
1890 </dd> |
|
1891 </dl><dl> |
|
1892 <dt>Returns:</dt> |
|
1893 <dd> |
|
1894 count of editors displaying this file (integer) |
|
1895 </dd> |
|
1896 </dl><a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a> |
|
1897 <h4>ViewManager.getOpenEditors</h4> |
|
1898 <b>getOpenEditors</b>(<i></i>) |
|
1899 <p> |
|
1900 Public method to get references to all open editors. |
|
1901 </p><dl> |
|
1902 <dt>Returns:</dt> |
|
1903 <dd> |
|
1904 list of references to all open editors (list of QScintilla.editor) |
|
1905 </dd> |
|
1906 </dl><a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a> |
|
1907 <h4>ViewManager.getOpenEditorsCount</h4> |
|
1908 <b>getOpenEditorsCount</b>(<i></i>) |
|
1909 <p> |
|
1910 Public method to get the number of open editors. |
|
1911 </p><dl> |
|
1912 <dt>Returns:</dt> |
|
1913 <dd> |
|
1914 number of open editors (integer) |
|
1915 </dd> |
|
1916 </dl><a NAME="ViewManager.getOpenFilenames" ID="ViewManager.getOpenFilenames"></a> |
|
1917 <h4>ViewManager.getOpenFilenames</h4> |
|
1918 <b>getOpenFilenames</b>(<i></i>) |
|
1919 <p> |
|
1920 Public method returning a list of the filenames of all editors. |
|
1921 </p><dl> |
|
1922 <dt>Returns:</dt> |
|
1923 <dd> |
|
1924 list of all opened filenames (list of strings) |
|
1925 </dd> |
|
1926 </dl><a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a> |
|
1927 <h4>ViewManager.getSRHistory</h4> |
|
1928 <b>getSRHistory</b>(<i>key</i>) |
|
1929 <p> |
|
1930 Public method to get the search or replace history list. |
|
1931 </p><dl> |
|
1932 <dt><i>key</i></dt> |
|
1933 <dd> |
|
1934 list to return (must be 'search' or 'replace') |
|
1935 </dd> |
|
1936 </dl><dl> |
|
1937 <dt>Returns:</dt> |
|
1938 <dd> |
|
1939 the requested history list (list of strings) |
|
1940 </dd> |
|
1941 </dl><a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a> |
|
1942 <h4>ViewManager.handleResetUI</h4> |
|
1943 <b>handleResetUI</b>(<i></i>) |
|
1944 <p> |
|
1945 Public slot to handle the resetUI signal. |
|
1946 </p><a NAME="ViewManager.initActions" ID="ViewManager.initActions"></a> |
|
1947 <h4>ViewManager.initActions</h4> |
|
1948 <b>initActions</b>(<i></i>) |
|
1949 <p> |
|
1950 Public method defining the user interface actions. |
|
1951 </p><a NAME="ViewManager.initBookmarkMenu" ID="ViewManager.initBookmarkMenu"></a> |
|
1952 <h4>ViewManager.initBookmarkMenu</h4> |
|
1953 <b>initBookmarkMenu</b>(<i></i>) |
|
1954 <p> |
|
1955 Public method to create the Bookmark menu |
|
1956 </p><dl> |
|
1957 <dt>Returns:</dt> |
|
1958 <dd> |
|
1959 the generated menu |
|
1960 </dd> |
|
1961 </dl><a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a> |
|
1962 <h4>ViewManager.initBookmarkToolbar</h4> |
|
1963 <b>initBookmarkToolbar</b>(<i>toolbarManager</i>) |
|
1964 <p> |
|
1965 Public method to create the Bookmark toolbar |
|
1966 </p><dl> |
|
1967 <dt><i>toolbarManager</i></dt> |
|
1968 <dd> |
|
1969 reference to a toolbar manager object (E4ToolBarManager) |
|
1970 </dd> |
|
1971 </dl><dl> |
|
1972 <dt>Returns:</dt> |
|
1973 <dd> |
|
1974 the generated toolbar |
|
1975 </dd> |
|
1976 </dl><a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a> |
|
1977 <h4>ViewManager.initEditMenu</h4> |
|
1978 <b>initEditMenu</b>(<i></i>) |
|
1979 <p> |
|
1980 Public method to create the Edit menu |
|
1981 </p><dl> |
|
1982 <dt>Returns:</dt> |
|
1983 <dd> |
|
1984 the generated menu |
|
1985 </dd> |
|
1986 </dl><a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a> |
|
1987 <h4>ViewManager.initEditToolbar</h4> |
|
1988 <b>initEditToolbar</b>(<i>toolbarManager</i>) |
|
1989 <p> |
|
1990 Public method to create the Edit toolbar |
|
1991 </p><dl> |
|
1992 <dt><i>toolbarManager</i></dt> |
|
1993 <dd> |
|
1994 reference to a toolbar manager object (E4ToolBarManager) |
|
1995 </dd> |
|
1996 </dl><dl> |
|
1997 <dt>Returns:</dt> |
|
1998 <dd> |
|
1999 the generated toolbar |
|
2000 </dd> |
|
2001 </dl><a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a> |
|
2002 <h4>ViewManager.initFileMenu</h4> |
|
2003 <b>initFileMenu</b>(<i></i>) |
|
2004 <p> |
|
2005 Public method to create the File menu. |
|
2006 </p><dl> |
|
2007 <dt>Returns:</dt> |
|
2008 <dd> |
|
2009 the generated menu |
|
2010 </dd> |
|
2011 </dl><a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a> |
|
2012 <h4>ViewManager.initFileToolbar</h4> |
|
2013 <b>initFileToolbar</b>(<i>toolbarManager</i>) |
|
2014 <p> |
|
2015 Public method to create the File toolbar. |
|
2016 </p><dl> |
|
2017 <dt><i>toolbarManager</i></dt> |
|
2018 <dd> |
|
2019 reference to a toolbar manager object (E4ToolBarManager) |
|
2020 </dd> |
|
2021 </dl><dl> |
|
2022 <dt>Returns:</dt> |
|
2023 <dd> |
|
2024 the generated toolbar |
|
2025 </dd> |
|
2026 </dl><a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a> |
|
2027 <h4>ViewManager.initMacroMenu</h4> |
|
2028 <b>initMacroMenu</b>(<i></i>) |
|
2029 <p> |
|
2030 Public method to create the Macro menu |
|
2031 </p><dl> |
|
2032 <dt>Returns:</dt> |
|
2033 <dd> |
|
2034 the generated menu |
|
2035 </dd> |
|
2036 </dl><a NAME="ViewManager.initSearchToolbars" ID="ViewManager.initSearchToolbars"></a> |
|
2037 <h4>ViewManager.initSearchToolbars</h4> |
|
2038 <b>initSearchToolbars</b>(<i>toolbarManager</i>) |
|
2039 <p> |
|
2040 Public method to create the Search toolbars |
|
2041 </p><dl> |
|
2042 <dt><i>toolbarManager</i></dt> |
|
2043 <dd> |
|
2044 reference to a toolbar manager object (E4ToolBarManager) |
|
2045 </dd> |
|
2046 </dl><dl> |
|
2047 <dt>Returns:</dt> |
|
2048 <dd> |
|
2049 a tuple of the generated toolbar (search, quicksearch) |
|
2050 </dd> |
|
2051 </dl><a NAME="ViewManager.initSpellingToolbar" ID="ViewManager.initSpellingToolbar"></a> |
|
2052 <h4>ViewManager.initSpellingToolbar</h4> |
|
2053 <b>initSpellingToolbar</b>(<i>toolbarManager</i>) |
|
2054 <p> |
|
2055 Public method to create the Spelling toolbar |
|
2056 </p><dl> |
|
2057 <dt><i>toolbarManager</i></dt> |
|
2058 <dd> |
|
2059 reference to a toolbar manager object (E4ToolBarManager) |
|
2060 </dd> |
|
2061 </dl><dl> |
|
2062 <dt>Returns:</dt> |
|
2063 <dd> |
|
2064 the generated toolbar |
|
2065 </dd> |
|
2066 </dl><a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a> |
|
2067 <h4>ViewManager.initViewMenu</h4> |
|
2068 <b>initViewMenu</b>(<i></i>) |
|
2069 <p> |
|
2070 Public method to create the View menu |
|
2071 </p><dl> |
|
2072 <dt>Returns:</dt> |
|
2073 <dd> |
|
2074 the generated menu |
|
2075 </dd> |
|
2076 </dl><a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a> |
|
2077 <h4>ViewManager.initViewToolbar</h4> |
|
2078 <b>initViewToolbar</b>(<i>toolbarManager</i>) |
|
2079 <p> |
|
2080 Public method to create the View toolbar |
|
2081 </p><dl> |
|
2082 <dt><i>toolbarManager</i></dt> |
|
2083 <dd> |
|
2084 reference to a toolbar manager object (E4ToolBarManager) |
|
2085 </dd> |
|
2086 </dl><dl> |
|
2087 <dt>Returns:</dt> |
|
2088 <dd> |
|
2089 the generated toolbar |
|
2090 </dd> |
|
2091 </dl><a NAME="ViewManager.newEditor" ID="ViewManager.newEditor"></a> |
|
2092 <h4>ViewManager.newEditor</h4> |
|
2093 <b>newEditor</b>(<i></i>) |
|
2094 <p> |
|
2095 Public slot to generate a new empty editor. |
|
2096 </p><a NAME="ViewManager.newEditorView" ID="ViewManager.newEditorView"></a> |
|
2097 <h4>ViewManager.newEditorView</h4> |
|
2098 <b>newEditorView</b>(<i>fn, caller, filetype = ""</i>) |
|
2099 <p> |
|
2100 Public method to create a new editor displaying the given document. |
|
2101 </p><dl> |
|
2102 <dt><i>fn</i></dt> |
|
2103 <dd> |
|
2104 filename of this view |
|
2105 </dd><dt><i>caller</i></dt> |
|
2106 <dd> |
|
2107 reference to the editor calling this method |
|
2108 </dd><dt><i>filetype</i></dt> |
|
2109 <dd> |
|
2110 type of the source file (string) |
|
2111 </dd> |
|
2112 </dl><a NAME="ViewManager.newProject" ID="ViewManager.newProject"></a> |
|
2113 <h4>ViewManager.newProject</h4> |
|
2114 <b>newProject</b>(<i></i>) |
|
2115 <p> |
|
2116 Public slot to handle the NewProject signal. |
|
2117 </p><a NAME="ViewManager.nextSplit" ID="ViewManager.nextSplit"></a> |
|
2118 <h4>ViewManager.nextSplit</h4> |
|
2119 <b>nextSplit</b>(<i></i>) |
|
2120 <p> |
|
2121 Public slot used to move to the next split. |
|
2122 </p><a NAME="ViewManager.openFiles" ID="ViewManager.openFiles"></a> |
|
2123 <h4>ViewManager.openFiles</h4> |
|
2124 <b>openFiles</b>(<i>prog = None</i>) |
|
2125 <p> |
|
2126 Public slot to open some files. |
|
2127 </p><dl> |
|
2128 <dt><i>prog</i></dt> |
|
2129 <dd> |
|
2130 name of file to be opened (string) |
|
2131 </dd> |
|
2132 </dl><a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a> |
|
2133 <h4>ViewManager.openSourceFile</h4> |
|
2134 <b>openSourceFile</b>(<i>fn, lineno = None, filetype = "", selection = None</i>) |
|
2135 <p> |
|
2136 Public slot to display a file in an editor. |
|
2137 </p><dl> |
|
2138 <dt><i>fn</i></dt> |
|
2139 <dd> |
|
2140 name of file to be opened |
|
2141 </dd><dt><i>lineno</i></dt> |
|
2142 <dd> |
|
2143 line number to place the cursor at |
|
2144 </dd><dt><i>filetype</i></dt> |
|
2145 <dd> |
|
2146 type of the source file (string) |
|
2147 </dd><dt><i>selection</i></dt> |
|
2148 <dd> |
|
2149 tuple (start, end) of an area to be selected |
|
2150 </dd> |
|
2151 </dl><a NAME="ViewManager.preferencesChanged" ID="ViewManager.preferencesChanged"></a> |
|
2152 <h4>ViewManager.preferencesChanged</h4> |
|
2153 <b>preferencesChanged</b>(<i></i>) |
|
2154 <p> |
|
2155 Public slot to handle the preferencesChanged signal. |
|
2156 </p><p> |
|
2157 This method performs the following actions |
|
2158 <ul> |
|
2159 <li>reread the colours for the syntax highlighting</li> |
|
2160 <li>reloads the already created API objetcs</li> |
|
2161 <li>starts or stops the autosave timer</li> |
|
2162 <li><b>Note</b>: changes in viewmanager type are activated |
|
2163 on an application restart.</li> |
|
2164 </ul> |
|
2165 </p><a NAME="ViewManager.prevSplit" ID="ViewManager.prevSplit"></a> |
|
2166 <h4>ViewManager.prevSplit</h4> |
|
2167 <b>prevSplit</b>(<i></i>) |
|
2168 <p> |
|
2169 Public slot used to move to the previous split. |
|
2170 </p><a NAME="ViewManager.printCurrentEditor" ID="ViewManager.printCurrentEditor"></a> |
|
2171 <h4>ViewManager.printCurrentEditor</h4> |
|
2172 <b>printCurrentEditor</b>(<i></i>) |
|
2173 <p> |
|
2174 Public slot to print the contents of the current editor. |
|
2175 </p><a NAME="ViewManager.printEditor" ID="ViewManager.printEditor"></a> |
|
2176 <h4>ViewManager.printEditor</h4> |
|
2177 <b>printEditor</b>(<i>editor</i>) |
|
2178 <p> |
|
2179 Public slot to print an editor. |
|
2180 </p><dl> |
|
2181 <dt><i>editor</i></dt> |
|
2182 <dd> |
|
2183 editor to be printed |
|
2184 </dd> |
|
2185 </dl><a NAME="ViewManager.printPreviewCurrentEditor" ID="ViewManager.printPreviewCurrentEditor"></a> |
|
2186 <h4>ViewManager.printPreviewCurrentEditor</h4> |
|
2187 <b>printPreviewCurrentEditor</b>(<i></i>) |
|
2188 <p> |
|
2189 Public slot to show a print preview of the current editor. |
|
2190 </p><a NAME="ViewManager.projectClosed" ID="ViewManager.projectClosed"></a> |
|
2191 <h4>ViewManager.projectClosed</h4> |
|
2192 <b>projectClosed</b>(<i></i>) |
|
2193 <p> |
|
2194 Public slot to handle the projectClosed signal. |
|
2195 </p><a NAME="ViewManager.projectFileRenamed" ID="ViewManager.projectFileRenamed"></a> |
|
2196 <h4>ViewManager.projectFileRenamed</h4> |
|
2197 <b>projectFileRenamed</b>(<i>oldfn, newfn</i>) |
|
2198 <p> |
|
2199 Public slot to handle the projectFileRenamed signal. |
|
2200 </p><dl> |
|
2201 <dt><i>oldfn</i></dt> |
|
2202 <dd> |
|
2203 old filename of the file (string) |
|
2204 </dd><dt><i>newfn</i></dt> |
|
2205 <dd> |
|
2206 new filename of the file (string) |
|
2207 </dd> |
|
2208 </dl><a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a> |
|
2209 <h4>ViewManager.projectLexerAssociationsChanged</h4> |
|
2210 <b>projectLexerAssociationsChanged</b>(<i></i>) |
|
2211 <p> |
|
2212 Public slot to handle changes of the project lexer associations. |
|
2213 </p><a NAME="ViewManager.projectOpened" ID="ViewManager.projectOpened"></a> |
|
2214 <h4>ViewManager.projectOpened</h4> |
|
2215 <b>projectOpened</b>(<i></i>) |
|
2216 <p> |
|
2217 Public slot to handle the projectOpened signal. |
|
2218 </p><a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a> |
|
2219 <h4>ViewManager.removeSplit</h4> |
|
2220 <b>removeSplit</b>(<i></i>) |
|
2221 <p> |
|
2222 Public method used to remove the current split view. |
|
2223 </p><dl> |
|
2224 <dt>Returns:</dt> |
|
2225 <dd> |
|
2226 Flag indicating successful deletion |
|
2227 </dd> |
|
2228 </dl><a NAME="ViewManager.saveAllEditors" ID="ViewManager.saveAllEditors"></a> |
|
2229 <h4>ViewManager.saveAllEditors</h4> |
|
2230 <b>saveAllEditors</b>(<i></i>) |
|
2231 <p> |
|
2232 Public slot to save the contents of all editors. |
|
2233 </p><a NAME="ViewManager.saveAsCurrentEditor" ID="ViewManager.saveAsCurrentEditor"></a> |
|
2234 <h4>ViewManager.saveAsCurrentEditor</h4> |
|
2235 <b>saveAsCurrentEditor</b>(<i></i>) |
|
2236 <p> |
|
2237 Public slot to save the contents of the current editor to a new file. |
|
2238 </p><a NAME="ViewManager.saveAsEditorEd" ID="ViewManager.saveAsEditorEd"></a> |
|
2239 <h4>ViewManager.saveAsEditorEd</h4> |
|
2240 <b>saveAsEditorEd</b>(<i>ed</i>) |
|
2241 <p> |
|
2242 Public slot to save the contents of an editor to a new file. |
|
2243 </p><dl> |
|
2244 <dt><i>ed</i></dt> |
|
2245 <dd> |
|
2246 editor to be saved |
|
2247 </dd> |
|
2248 </dl><a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a> |
|
2249 <h4>ViewManager.saveCurrentEditor</h4> |
|
2250 <b>saveCurrentEditor</b>(<i></i>) |
|
2251 <p> |
|
2252 Public slot to save the contents of the current editor. |
|
2253 </p><a NAME="ViewManager.saveCurrentEditorToProject" ID="ViewManager.saveCurrentEditorToProject"></a> |
|
2254 <h4>ViewManager.saveCurrentEditorToProject</h4> |
|
2255 <b>saveCurrentEditorToProject</b>(<i></i>) |
|
2256 <p> |
|
2257 Public slot to save the contents of the current editor to the current project. |
|
2258 </p><a NAME="ViewManager.saveEditor" ID="ViewManager.saveEditor"></a> |
|
2259 <h4>ViewManager.saveEditor</h4> |
|
2260 <b>saveEditor</b>(<i>fn</i>) |
|
2261 <p> |
|
2262 Public method to save a named editor file. |
|
2263 </p><dl> |
|
2264 <dt><i>fn</i></dt> |
|
2265 <dd> |
|
2266 filename of editor to be saved (string) |
|
2267 </dd> |
|
2268 </dl><dl> |
|
2269 <dt>Returns:</dt> |
|
2270 <dd> |
|
2271 flag indicating success (boolean) |
|
2272 </dd> |
|
2273 </dl><a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a> |
|
2274 <h4>ViewManager.saveEditorEd</h4> |
|
2275 <b>saveEditorEd</b>(<i>ed</i>) |
|
2276 <p> |
|
2277 Public slot to save the contents of an editor. |
|
2278 </p><dl> |
|
2279 <dt><i>ed</i></dt> |
|
2280 <dd> |
|
2281 editor to be saved |
|
2282 </dd> |
|
2283 </dl><dl> |
|
2284 <dt>Returns:</dt> |
|
2285 <dd> |
|
2286 flag indicating success (boolean) |
|
2287 </dd> |
|
2288 </dl><a NAME="ViewManager.saveEditorToProjectEd" ID="ViewManager.saveEditorToProjectEd"></a> |
|
2289 <h4>ViewManager.saveEditorToProjectEd</h4> |
|
2290 <b>saveEditorToProjectEd</b>(<i>ed</i>) |
|
2291 <p> |
|
2292 Public slot to save the contents of an editor to the current project. |
|
2293 </p><dl> |
|
2294 <dt><i>ed</i></dt> |
|
2295 <dd> |
|
2296 editor to be saved |
|
2297 </dd> |
|
2298 </dl><a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a> |
|
2299 <h4>ViewManager.saveEditorsList</h4> |
|
2300 <b>saveEditorsList</b>(<i>editors</i>) |
|
2301 <p> |
|
2302 Public slot to save a list of editors. |
|
2303 </p><dl> |
|
2304 <dt><i>editors</i></dt> |
|
2305 <dd> |
|
2306 list of editors to be saved |
|
2307 </dd> |
|
2308 </dl><a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a> |
|
2309 <h4>ViewManager.setEditorName</h4> |
|
2310 <b>setEditorName</b>(<i>editor, newName</i>) |
|
2311 <p> |
|
2312 Public method to change the displayed name of the editor. |
|
2313 </p><dl> |
|
2314 <dt><i>editor</i></dt> |
|
2315 <dd> |
|
2316 editor window to be changed |
|
2317 </dd><dt><i>newName</i></dt> |
|
2318 <dd> |
|
2319 new name to be shown (string) |
|
2320 </dd> |
|
2321 </dl><dl> |
|
2322 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2323 <dd> |
|
2324 Not implemented |
|
2325 </dd> |
|
2326 </dl><a NAME="ViewManager.setFileLine" ID="ViewManager.setFileLine"></a> |
|
2327 <h4>ViewManager.setFileLine</h4> |
|
2328 <b>setFileLine</b>(<i>fn, line, error = False, syntaxError = False</i>) |
|
2329 <p> |
|
2330 Public method to update the user interface when the current program |
|
2331 or line changes. |
|
2332 </p><dl> |
|
2333 <dt><i>fn</i></dt> |
|
2334 <dd> |
|
2335 filename of editor to update (string) |
|
2336 </dd><dt><i>line</i></dt> |
|
2337 <dd> |
|
2338 line number to highlight (int) |
|
2339 </dd><dt><i>error</i></dt> |
|
2340 <dd> |
|
2341 flag indicating an error highlight (boolean) |
|
2342 </dd><dt><i>syntaxError</i></dt> |
|
2343 <dd> |
|
2344 flag indicating a syntax error |
|
2345 </dd> |
|
2346 </dl><a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a> |
|
2347 <h4>ViewManager.setReferences</h4> |
|
2348 <b>setReferences</b>(<i>ui, dbs</i>) |
|
2349 <p> |
|
2350 Public method to set some references needed later on. |
|
2351 </p><dl> |
|
2352 <dt><i>ui</i></dt> |
|
2353 <dd> |
|
2354 reference to the main user interface |
|
2355 </dd><dt><i>dbs</i></dt> |
|
2356 <dd> |
|
2357 reference to the debug server object |
|
2358 </dd> |
|
2359 </dl><a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a> |
|
2360 <h4>ViewManager.setSbInfo</h4> |
|
2361 <b>setSbInfo</b>(<i>sbFile, sbLine, sbPos, sbWritable, sbEncoding, sbLanguage, sbEol</i>) |
|
2362 <p> |
|
2363 Public method to transfer statusbar info from the user interface to viewmanager. |
|
2364 </p><dl> |
|
2365 <dt><i>sbFile</i></dt> |
|
2366 <dd> |
|
2367 reference to the file part of the statusbar (E4SqueezeLabelPath) |
|
2368 </dd><dt><i>sbLine</i></dt> |
|
2369 <dd> |
|
2370 reference to the line number part of the statusbar (QLabel) |
|
2371 </dd><dt><i>sbPos</i></dt> |
|
2372 <dd> |
|
2373 reference to the character position part of the statusbar (QLabel) |
|
2374 </dd><dt><i>sbWritable</i></dt> |
|
2375 <dd> |
|
2376 reference to the writability indicator part of |
|
2377 the statusbar (QLabel) |
|
2378 </dd><dt><i>sbEncoding</i></dt> |
|
2379 <dd> |
|
2380 reference to the encoding indicator part of the |
|
2381 statusbar (QLabel) |
|
2382 </dd><dt><i>sbLanguage</i></dt> |
|
2383 <dd> |
|
2384 reference to the language indicator part of the |
|
2385 statusbar (QLabel) |
|
2386 </dd><dt><i>sbEol</i></dt> |
|
2387 <dd> |
|
2388 reference to the eol indicator part of the statusbar (QLabel) |
|
2389 </dd> |
|
2390 </dl><a NAME="ViewManager.setSplitOrientation" ID="ViewManager.setSplitOrientation"></a> |
|
2391 <h4>ViewManager.setSplitOrientation</h4> |
|
2392 <b>setSplitOrientation</b>(<i>orientation</i>) |
|
2393 <p> |
|
2394 Public method used to set the orientation of the split view. |
|
2395 </p><dl> |
|
2396 <dt><i>orientation</i></dt> |
|
2397 <dd> |
|
2398 orientation of the split |
|
2399 (Qt.Horizontal or Qt.Vertical) |
|
2400 </dd> |
|
2401 </dl><a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a> |
|
2402 <h4>ViewManager.showDebugSource</h4> |
|
2403 <b>showDebugSource</b>(<i>fn, line</i>) |
|
2404 <p> |
|
2405 Public method to open the given file and highlight the given line in it. |
|
2406 </p><dl> |
|
2407 <dt><i>fn</i></dt> |
|
2408 <dd> |
|
2409 filename of editor to update (string) |
|
2410 </dd><dt><i>line</i></dt> |
|
2411 <dd> |
|
2412 line number to highlight (int) |
|
2413 </dd> |
|
2414 </dl><a NAME="ViewManager.showWindowMenu" ID="ViewManager.showWindowMenu"></a> |
|
2415 <h4>ViewManager.showWindowMenu</h4> |
|
2416 <b>showWindowMenu</b>(<i>windowMenu</i>) |
|
2417 <p> |
|
2418 Public method to set up the viewmanager part of the Window menu. |
|
2419 </p><dl> |
|
2420 <dt><i>windowMenu</i></dt> |
|
2421 <dd> |
|
2422 reference to the window menu |
|
2423 </dd> |
|
2424 </dl><dl> |
|
2425 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2426 <dd> |
|
2427 Not implemented |
|
2428 </dd> |
|
2429 </dl><a NAME="ViewManager.textForFind" ID="ViewManager.textForFind"></a> |
|
2430 <h4>ViewManager.textForFind</h4> |
|
2431 <b>textForFind</b>(<i>getCurrentWord = True</i>) |
|
2432 <p> |
|
2433 Public method to determine the selection or the current word for the next |
|
2434 find operation. |
|
2435 </p><dl> |
|
2436 <dt><i>getCurrentWord</i></dt> |
|
2437 <dd> |
|
2438 flag indicating to return the current word, if no selected |
|
2439 text was found (boolean) |
|
2440 </dd> |
|
2441 </dl><dl> |
|
2442 <dt>Returns:</dt> |
|
2443 <dd> |
|
2444 selection or current word (string) |
|
2445 </dd> |
|
2446 </dl><a NAME="ViewManager.tile" ID="ViewManager.tile"></a> |
|
2447 <h4>ViewManager.tile</h4> |
|
2448 <b>tile</b>(<i></i>) |
|
2449 <p> |
|
2450 Public method to tile the managed windows. |
|
2451 </p><dl> |
|
2452 <dt>Raises <b>RuntimeError</b>:</dt> |
|
2453 <dd> |
|
2454 Not implemented |
|
2455 </dd> |
|
2456 </dl><a NAME="ViewManager.unhighlight" ID="ViewManager.unhighlight"></a> |
|
2457 <h4>ViewManager.unhighlight</h4> |
|
2458 <b>unhighlight</b>(<i>current = False</i>) |
|
2459 <p> |
|
2460 Public method to switch off all highlights. |
|
2461 </p><dl> |
|
2462 <dt><i>current</i></dt> |
|
2463 <dd> |
|
2464 flag indicating only the current editor should be unhighlighted |
|
2465 (boolean) |
|
2466 </dd> |
|
2467 </dl> |
|
2468 <div align="right"><a href="#top">Up</a></div> |
|
2469 <hr /> |
|
2470 </body></html> |