--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.ViewManager.ViewManager.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,2459 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.ViewManager.ViewManager</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.ViewManager.ViewManager</h1> +<p> +Module implementing the viewmanager base class. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#QuickSearchLineEdit">QuickSearchLineEdit</a></td> +<td>Class implementing a line edit that reacts to newline and cancel commands.</td> +</tr><tr> +<td><a href="#ViewManager">ViewManager</a></td> +<td>Base class inherited by all specific viewmanager classes.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="QuickSearchLineEdit" ID="QuickSearchLineEdit"></a> +<h2>QuickSearchLineEdit</h2> +<p> + Class implementing a line edit that reacts to newline and cancel commands. +</p><h4>Signals</h4> +<dl> +<dt>escPressed()</dt> +<dd> +emitted after the cancel command was activated +</dd><dt>gotFocus()</dt> +<dd> +emitted when the focus is changed to this widget +</dd><dt>returnPressed()</dt> +<dd> +emitted after a newline command was activated +</dd> +</dl> +<h3>Derived from</h3> +QLineEdit +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#QuickSearchLineEdit.editorCommand">editorCommand</a></td> +<td>Public method to perform an editor command.</td> +</tr><tr> +<td><a href="#QuickSearchLineEdit.focusInEvent">focusInEvent</a></td> +<td>Re-implemented to record the current editor widget.</td> +</tr><tr> +<td><a href="#QuickSearchLineEdit.keyPressEvent">keyPressEvent</a></td> +<td>Re-implemented to handle the press of the ESC key.</td> +</tr> +</table> +<a NAME="QuickSearchLineEdit.editorCommand" ID="QuickSearchLineEdit.editorCommand"></a> +<h4>QuickSearchLineEdit.editorCommand</h4> +<b>editorCommand</b>(<i>cmd</i>) +<p> + Public method to perform an editor command. +</p><dl> +<dt><i>cmd</i></dt> +<dd> +the scintilla command to be performed +</dd> +</dl><a NAME="QuickSearchLineEdit.focusInEvent" ID="QuickSearchLineEdit.focusInEvent"></a> +<h4>QuickSearchLineEdit.focusInEvent</h4> +<b>focusInEvent</b>(<i>evt</i>) +<p> + Re-implemented to record the current editor widget. +</p><dl> +<dt><i>evt</i></dt> +<dd> +focus event (QFocusEvent) +</dd> +</dl><a NAME="QuickSearchLineEdit.keyPressEvent" ID="QuickSearchLineEdit.keyPressEvent"></a> +<h4>QuickSearchLineEdit.keyPressEvent</h4> +<b>keyPressEvent</b>(<i>evt</i>) +<p> + Re-implemented to handle the press of the ESC key. +</p><dl> +<dt><i>evt</i></dt> +<dd> +key event (QKeyPressEvent) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="ViewManager" ID="ViewManager"></a> +<h2>ViewManager</h2> +<p> + Base class inherited by all specific viewmanager classes. +</p><p> + It defines the interface to be implemented by specific + viewmanager classes and all common methods. +</p><h4>Signals</h4> +<dl> +<dt>bookmarkToggled(editor)</dt> +<dd> +emitted when a bookmark is toggled. +</dd><dt>breakpointToggled(editor)</dt> +<dd> +emitted when a breakpoint is toggled. +</dd><dt>checkActions(editor)</dt> +<dd> +emitted when some actions should be checked + for their status +</dd><dt>cursorChanged(editor)</dt> +<dd> +emitted after the cursor position of the active + window has changed +</dd><dt>editorClosed(string)</dt> +<dd> +emitted just before an editor window gets closed +</dd><dt>editorClosedEd(editor)</dt> +<dd> +emitted just before an editor window gets closed +</dd><dt>editorOpened(string)</dt> +<dd> +emitted after an editor window was opened +</dd><dt>editorOpenedEd(editor)</dt> +<dd> +emitted after an editor window was opened +</dd><dt>editorSaved(string)</dt> +<dd> +emitted after an editor window was saved +</dd><dt>lastEditorClosed</dt> +<dd> +emitted after the last editor window was closed +</dd> +</dl> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ViewManager.__init__">ViewManager</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td> +<td>Private method to add the current file to the list of bookmarked files.</td> +</tr><tr> +<td><a href="#ViewManager.__autosave">__autosave</a></td> +<td>Private slot to save the contents of all editors automatically.</td> +</tr><tr> +<td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td> +<td>Private method to handle the bookmark selected signal.</td> +</tr><tr> +<td><a href="#ViewManager.__bookmarkToggled">__bookmarkToggled</a></td> +<td>Private slot to handle the bookmarkToggled signal.</td> +</tr><tr> +<td><a href="#ViewManager.__breakpointToggled">__breakpointToggled</a></td> +<td>Private slot to handle the breakpointToggled signal.</td> +</tr><tr> +<td><a href="#ViewManager.__clearAllBookmarks">__clearAllBookmarks</a></td> +<td>Private method to handle the clear all bookmarks action.</td> +</tr><tr> +<td><a href="#ViewManager.__clearAllSyntaxErrors">__clearAllSyntaxErrors</a></td> +<td>Private method to handle the clear all syntax errors action.</td> +</tr><tr> +<td><a href="#ViewManager.__clearBookmarked">__clearBookmarked</a></td> +<td>Private method to clear the bookmarked files menu.</td> +</tr><tr> +<td><a href="#ViewManager.__clearRecent">__clearRecent</a></td> +<td>Private method to clear the recent files menu.</td> +</tr><tr> +<td><a href="#ViewManager.__connectEditor">__connectEditor</a></td> +<td>Private method to establish all editor connections.</td> +</tr><tr> +<td><a href="#ViewManager.__convertEOL">__convertEOL</a></td> +<td>Private method to handle the convert line end characters action.</td> +</tr><tr> +<td><a href="#ViewManager.__coverageMarkersShown">__coverageMarkersShown</a></td> +<td>Private slot to handle the coverageMarkersShown signal.</td> +</tr><tr> +<td><a href="#ViewManager.__cursorChanged">__cursorChanged</a></td> +<td>Private slot to handle the cursorChanged signal.</td> +</tr><tr> +<td><a href="#ViewManager.__editAutoComplete">__editAutoComplete</a></td> +<td>Private method to handle the autocomplete action.</td> +</tr><tr> +<td><a href="#ViewManager.__editAutoCompleteFromAPIs">__editAutoCompleteFromAPIs</a></td> +<td>Private method to handle the autocomplete from APIs action.</td> +</tr><tr> +<td><a href="#ViewManager.__editAutoCompleteFromAll">__editAutoCompleteFromAll</a></td> +<td>Private method to handle the autocomplete from All action.</td> +</tr><tr> +<td><a href="#ViewManager.__editAutoCompleteFromDoc">__editAutoCompleteFromDoc</a></td> +<td>Private method to handle the autocomplete from document action.</td> +</tr><tr> +<td><a href="#ViewManager.__editBookmarked">__editBookmarked</a></td> +<td>Private method to edit the list of bookmarked files.</td> +</tr><tr> +<td><a href="#ViewManager.__editBoxComment">__editBoxComment</a></td> +<td>Private method to handle the box comment action.</td> +</tr><tr> +<td><a href="#ViewManager.__editComment">__editComment</a></td> +<td>Private method to handle the comment action.</td> +</tr><tr> +<td><a href="#ViewManager.__editCopy">__editCopy</a></td> +<td>Private method to handle the copy action.</td> +</tr><tr> +<td><a href="#ViewManager.__editCut">__editCut</a></td> +<td>Private method to handle the cut action.</td> +</tr><tr> +<td><a href="#ViewManager.__editDelete">__editDelete</a></td> +<td>Private method to handle the delete action.</td> +</tr><tr> +<td><a href="#ViewManager.__editDeselectAll">__editDeselectAll</a></td> +<td>Private method to handle the select all action.</td> +</tr><tr> +<td><a href="#ViewManager.__editIndent">__editIndent</a></td> +<td>Private method to handle the indent action.</td> +</tr><tr> +<td><a href="#ViewManager.__editPaste">__editPaste</a></td> +<td>Private method to handle the paste action.</td> +</tr><tr> +<td><a href="#ViewManager.__editRedo">__editRedo</a></td> +<td>Private method to handle the redo action.</td> +</tr><tr> +<td><a href="#ViewManager.__editRevert">__editRevert</a></td> +<td>Private method to handle the revert action.</td> +</tr><tr> +<td><a href="#ViewManager.__editSelectAll">__editSelectAll</a></td> +<td>Private method to handle the select all action.</td> +</tr><tr> +<td><a href="#ViewManager.__editSelectBrace">__editSelectBrace</a></td> +<td>Private method to handle the select to brace action.</td> +</tr><tr> +<td><a href="#ViewManager.__editShowCallTips">__editShowCallTips</a></td> +<td>Private method to handle the calltips action.</td> +</tr><tr> +<td><a href="#ViewManager.__editSmartIndent">__editSmartIndent</a></td> +<td>Private method to handle the smart indent action</td> +</tr><tr> +<td><a href="#ViewManager.__editStreamComment">__editStreamComment</a></td> +<td>Private method to handle the stream comment action.</td> +</tr><tr> +<td><a href="#ViewManager.__editUncomment">__editUncomment</a></td> +<td>Private method to handle the uncomment action.</td> +</tr><tr> +<td><a href="#ViewManager.__editUndo">__editUndo</a></td> +<td>Private method to handle the undo action.</td> +</tr><tr> +<td><a href="#ViewManager.__editUnindent">__editUnindent</a></td> +<td>Private method to handle the unindent action.</td> +</tr><tr> +<td><a href="#ViewManager.__editorAutoCompletionAPIsAvailable">__editorAutoCompletionAPIsAvailable</a></td> +<td>Private method to handle the availability of API autocompletion signal.</td> +</tr><tr> +<td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> +<td>Private method to send an editor command to the active window.</td> +</tr><tr> +<td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> +<td>Private method to handle changes of an editors configuration (e.g.</td> +</tr><tr> +<td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> +<td>Private slot to handle the editorOpened signal.</td> +</tr><tr> +<td><a href="#ViewManager.__editorSaved">__editorSaved</a></td> +<td>Private slot to handle the editorSaved signal.</td> +</tr><tr> +<td><a href="#ViewManager.__enableSpellingActions">__enableSpellingActions</a></td> +<td>Private method to set the enabled state of the spelling actions.</td> +</tr><tr> +<td><a href="#ViewManager.__exportMenuTriggered">__exportMenuTriggered</a></td> +<td>Private method to handle the selection of an export format.</td> +</tr><tr> +<td><a href="#ViewManager.__findFileName">__findFileName</a></td> +<td>Private method to handle the search for file action.</td> +</tr><tr> +<td><a href="#ViewManager.__goto">__goto</a></td> +<td>Private method to handle the goto action.</td> +</tr><tr> +<td><a href="#ViewManager.__gotoBrace">__gotoBrace</a></td> +<td>Private method to handle the goto brace action.</td> +</tr><tr> +<td><a href="#ViewManager.__gotoSyntaxError">__gotoSyntaxError</a></td> +<td>Private method to handle the goto syntax error action.</td> +</tr><tr> +<td><a href="#ViewManager.__initBookmarkActions">__initBookmarkActions</a></td> +<td>Private method defining the user interface actions for the bookmarks commands.</td> +</tr><tr> +<td><a href="#ViewManager.__initContextMenuExporters">__initContextMenuExporters</a></td> +<td>Private method used to setup the Exporters sub menu.</td> +</tr><tr> +<td><a href="#ViewManager.__initEditActions">__initEditActions</a></td> +<td>Private method defining the user interface actions for the edit commands.</td> +</tr><tr> +<td><a href="#ViewManager.__initFileActions">__initFileActions</a></td> +<td>Private method defining the user interface actions for file handling.</td> +</tr><tr> +<td><a href="#ViewManager.__initMacroActions">__initMacroActions</a></td> +<td>Private method defining the user interface actions for the macro commands.</td> +</tr><tr> +<td><a href="#ViewManager.__initSearchActions">__initSearchActions</a></td> +<td>Private method defining the user interface actions for the search commands.</td> +</tr><tr> +<td><a href="#ViewManager.__initSpellingActions">__initSpellingActions</a></td> +<td>Private method to initialize the spell checking actions.</td> +</tr><tr> +<td><a href="#ViewManager.__initViewActions">__initViewActions</a></td> +<td>Private method defining the user interface actions for the view commands.</td> +</tr><tr> +<td><a href="#ViewManager.__lastEditorClosed">__lastEditorClosed</a></td> +<td>Private slot to handle the lastEditorClosed signal.</td> +</tr><tr> +<td><a href="#ViewManager.__loadRecent">__loadRecent</a></td> +<td>Private method to load the recently opened filenames.</td> +</tr><tr> +<td><a href="#ViewManager.__macroDelete">__macroDelete</a></td> +<td>Private method to handle the delete macro action.</td> +</tr><tr> +<td><a href="#ViewManager.__macroLoad">__macroLoad</a></td> +<td>Private method to handle the load macro action.</td> +</tr><tr> +<td><a href="#ViewManager.__macroRun">__macroRun</a></td> +<td>Private method to handle the run macro action.</td> +</tr><tr> +<td><a href="#ViewManager.__macroSave">__macroSave</a></td> +<td>Private method to handle the save macro action.</td> +</tr><tr> +<td><a href="#ViewManager.__macroStartRecording">__macroStartRecording</a></td> +<td>Private method to handle the start macro recording action.</td> +</tr><tr> +<td><a href="#ViewManager.__macroStopRecording">__macroStopRecording</a></td> +<td>Private method to handle the stop macro recording action.</td> +</tr><tr> +<td><a href="#ViewManager.__newLineBelow">__newLineBelow</a></td> +<td>Private method to insert a new line below the current one even if cursor is not at the end of the line.</td> +</tr><tr> +<td><a href="#ViewManager.__nextBookmark">__nextBookmark</a></td> +<td>Private method to handle the next bookmark action.</td> +</tr><tr> +<td><a href="#ViewManager.__nextTask">__nextTask</a></td> +<td>Private method to handle the next task action.</td> +</tr><tr> +<td><a href="#ViewManager.__nextUncovered">__nextUncovered</a></td> +<td>Private method to handle the next uncovered action.</td> +</tr><tr> +<td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td> +<td>Private method to open a file from the list of rencently opened files.</td> +</tr><tr> +<td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td> +<td>Private method to handle the previous bookmark action.</td> +</tr><tr> +<td><a href="#ViewManager.__previousTask">__previousTask</a></td> +<td>Private method to handle the previous task action.</td> +</tr><tr> +<td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td> +<td>Private method to handle the previous uncovered action.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearch">__quickSearch</a></td> +<td>Private slot to handle the incremental quick search.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchEnter">__quickSearchEnter</a></td> +<td>Private slot to handle the incremental quick search return pressed (jump back to text)</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchEscape">__quickSearchEscape</a></td> +<td>Private slot to handle the incremental quick search escape pressed (jump back to text)</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchExtend">__quickSearchExtend</a></td> +<td>Private method to handle the quicksearch extend action.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchFocusIn">__quickSearchFocusIn</a></td> +<td>Private method to handle a focus in signal of the quicksearch lineedit.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchInEditor">__quickSearchInEditor</a></td> +<td>Private slot to perform a quick search.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchMarkOccurrences">__quickSearchMarkOccurrences</a></td> +<td>Private method to mark all occurrences of the search text.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchPrev">__quickSearchPrev</a></td> +<td>Private slot to handle the quickFindPrev toolbutton action.</td> +</tr><tr> +<td><a href="#ViewManager.__quickSearchText">__quickSearchText</a></td> +<td>Private slot to handle the textChanged signal of the quicksearch edit.</td> +</tr><tr> +<td><a href="#ViewManager.__replace">__replace</a></td> +<td>Private method to handle the replace action.</td> +</tr><tr> +<td><a href="#ViewManager.__replaceFiles">__replaceFiles</a></td> +<td>Private method to handle the replace in files action.</td> +</tr><tr> +<td><a href="#ViewManager.__saveRecent">__saveRecent</a></td> +<td>Private method to save the list of recently opened filenames.</td> +</tr><tr> +<td><a href="#ViewManager.__search">__search</a></td> +<td>Private method to handle the search action.</td> +</tr><tr> +<td><a href="#ViewManager.__searchClearMarkers">__searchClearMarkers</a></td> +<td>Private method to clear the search markers of the active window.</td> +</tr><tr> +<td><a href="#ViewManager.__searchFiles">__searchFiles</a></td> +<td>Private method to handle the search in files action.</td> +</tr><tr> +<td><a href="#ViewManager.__setAutoSpellChecking">__setAutoSpellChecking</a></td> +<td>Private slot to set the automatic spell checking of all editors.</td> +</tr><tr> +<td><a href="#ViewManager.__setSbFile">__setSbFile</a></td> +<td>Private method to set the file info in the status bar.</td> +</tr><tr> +<td><a href="#ViewManager.__shortenEmptyLines">__shortenEmptyLines</a></td> +<td>Private method to handle the shorten empty lines action.</td> +</tr><tr> +<td><a href="#ViewManager.__showBookmarkMenu">__showBookmarkMenu</a></td> +<td>Private method to set up the bookmark menu.</td> +</tr><tr> +<td><a href="#ViewManager.__showBookmarkedMenu">__showBookmarkedMenu</a></td> +<td>Private method to set up bookmarked files menu.</td> +</tr><tr> +<td><a href="#ViewManager.__showBookmarksMenu">__showBookmarksMenu</a></td> +<td>Private method to handle the show bookmarks menu signal.</td> +</tr><tr> +<td><a href="#ViewManager.__showFileMenu">__showFileMenu</a></td> +<td>Private method to set up the file menu.</td> +</tr><tr> +<td><a href="#ViewManager.__showRecentMenu">__showRecentMenu</a></td> +<td>Private method to set up recent files menu.</td> +</tr><tr> +<td><a href="#ViewManager.__spellCheck">__spellCheck</a></td> +<td>Private slot to perform a spell check of the current editor.</td> +</tr><tr> +<td><a href="#ViewManager.__splitOrientation">__splitOrientation</a></td> +<td>Private method to handle the split orientation action.</td> +</tr><tr> +<td><a href="#ViewManager.__splitView">__splitView</a></td> +<td>Private method to handle the split view action.</td> +</tr><tr> +<td><a href="#ViewManager.__taskMarkersUpdated">__taskMarkersUpdated</a></td> +<td>Protected slot to handle the syntaxerrorToggled signal.</td> +</tr><tr> +<td><a href="#ViewManager.__toggleAll">__toggleAll</a></td> +<td>Private method to handle the toggle all folds action.</td> +</tr><tr> +<td><a href="#ViewManager.__toggleAllChildren">__toggleAllChildren</a></td> +<td>Private method to handle the toggle all folds (including children) action.</td> +</tr><tr> +<td><a href="#ViewManager.__toggleBookmark">__toggleBookmark</a></td> +<td>Private method to handle the toggle bookmark action.</td> +</tr><tr> +<td><a href="#ViewManager.__toggleCurrent">__toggleCurrent</a></td> +<td>Private method to handle the toggle current fold action.</td> +</tr><tr> +<td><a href="#ViewManager.__zoom">__zoom</a></td> +<td>Private method to handle the zoom action.</td> +</tr><tr> +<td><a href="#ViewManager.__zoomIn">__zoomIn</a></td> +<td>Private method to handle the zoom in action.</td> +</tr><tr> +<td><a href="#ViewManager.__zoomOut">__zoomOut</a></td> +<td>Private method to handle the zoom out action.</td> +</tr><tr> +<td><a href="#ViewManager._addView">_addView</a></td> +<td>Protected method to add a view (i.e.</td> +</tr><tr> +<td><a href="#ViewManager._checkActions">_checkActions</a></td> +<td>Protected slot to check some actions for their enable/disable status and set the statusbar info.</td> +</tr><tr> +<td><a href="#ViewManager._getOpenFileFilter">_getOpenFileFilter</a></td> +<td>Protected method to return the active filename filter for a file open dialog.</td> +</tr><tr> +<td><a href="#ViewManager._getOpenStartDir">_getOpenStartDir</a></td> +<td>Protected method to return the starting directory for a file open dialog.</td> +</tr><tr> +<td><a href="#ViewManager._initWindowActions">_initWindowActions</a></td> +<td>Protected method to define the user interface actions for window handling.</td> +</tr><tr> +<td><a href="#ViewManager._modificationStatusChanged">_modificationStatusChanged</a></td> +<td>Protected slot to handle the modificationStatusChanged signal.</td> +</tr><tr> +<td><a href="#ViewManager._removeAllViews">_removeAllViews</a></td> +<td>Protected method to remove all views (i.e.</td> +</tr><tr> +<td><a href="#ViewManager._removeView">_removeView</a></td> +<td>Protected method to remove a view (i.e.</td> +</tr><tr> +<td><a href="#ViewManager._showView">_showView</a></td> +<td>Protected method to show a view (i.e.</td> +</tr><tr> +<td><a href="#ViewManager._syntaxErrorToggled">_syntaxErrorToggled</a></td> +<td>Protected slot to handle the syntaxerrorToggled signal.</td> +</tr><tr> +<td><a href="#ViewManager.activeWindow">activeWindow</a></td> +<td>Public method to return the active (i.e.</td> +</tr><tr> +<td><a href="#ViewManager.addSplit">addSplit</a></td> +<td>Public method used to split the current view.</td> +</tr><tr> +<td><a href="#ViewManager.addToExtrasMenu">addToExtrasMenu</a></td> +<td>Public method to add some actions to the extras menu.</td> +</tr><tr> +<td><a href="#ViewManager.addToRecentList">addToRecentList</a></td> +<td>Public slot to add a filename to the list of recently opened files.</td> +</tr><tr> +<td><a href="#ViewManager.canCascade">canCascade</a></td> +<td>Public method to signal if cascading of managed windows is available.</td> +</tr><tr> +<td><a href="#ViewManager.canSplit">canSplit</a></td> +<td>Public method to signal if splitting of the view is available.</td> +</tr><tr> +<td><a href="#ViewManager.canTile">canTile</a></td> +<td>Public method to signal if tiling of managed windows is available.</td> +</tr><tr> +<td><a href="#ViewManager.cascade">cascade</a></td> +<td>Public method to cascade the managed windows.</td> +</tr><tr> +<td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td> +<td>Public method to check the dirty status of all editors.</td> +</tr><tr> +<td><a href="#ViewManager.checkDirty">checkDirty</a></td> +<td>Public method to check dirty status and open a message window.</td> +</tr><tr> +<td><a href="#ViewManager.cloneEditor">cloneEditor</a></td> +<td>Public method to clone an editor displaying the given document.</td> +</tr><tr> +<td><a href="#ViewManager.closeAllWindows">closeAllWindows</a></td> +<td>Private method to close all editor windows via file menu.</td> +</tr><tr> +<td><a href="#ViewManager.closeCurrentWindow">closeCurrentWindow</a></td> +<td>Public method to close the current window.</td> +</tr><tr> +<td><a href="#ViewManager.closeEditor">closeEditor</a></td> +<td>Public method to close an editor window.</td> +</tr><tr> +<td><a href="#ViewManager.closeEditorWindow">closeEditorWindow</a></td> +<td>Public method to close an arbitrary source editor.</td> +</tr><tr> +<td><a href="#ViewManager.closeViewManager">closeViewManager</a></td> +<td>Public method to shutdown the viewmanager.</td> +</tr><tr> +<td><a href="#ViewManager.closeWindow">closeWindow</a></td> +<td>Public method to close an arbitrary source editor.</td> +</tr><tr> +<td><a href="#ViewManager.editorsCheckFocusInEnabled">editorsCheckFocusInEnabled</a></td> +<td>Public method returning the flag indicating editors should perform focus in checks.</td> +</tr><tr> +<td><a href="#ViewManager.enableEditorsCheckFocusIn">enableEditorsCheckFocusIn</a></td> +<td>Public method to set a flag enabling the editors to perform focus in checks.</td> +</tr><tr> +<td><a href="#ViewManager.eventFilter">eventFilter</a></td> +<td>Public method called to filter an event.</td> +</tr><tr> +<td><a href="#ViewManager.exit">exit</a></td> +<td>Public method to handle the debugged program terminating.</td> +</tr><tr> +<td><a href="#ViewManager.getAPIsManager">getAPIsManager</a></td> +<td>Public method to get a reference to the APIs manager.</td> +</tr><tr> +<td><a href="#ViewManager.getActions">getActions</a></td> +<td>Public method to get a list of all actions.</td> +</tr><tr> +<td><a href="#ViewManager.getActiveName">getActiveName</a></td> +<td>Public method to retrieve the filename of the active window.</td> +</tr><tr> +<td><a href="#ViewManager.getEditor">getEditor</a></td> +<td>Public method to return the editor displaying the given file.</td> +</tr><tr> +<td><a href="#ViewManager.getMostRecent">getMostRecent</a></td> +<td>Public method to get the most recently opened file.</td> +</tr><tr> +<td><a href="#ViewManager.getOpenEditor">getOpenEditor</a></td> +<td>Public method to return the editor displaying the given file.</td> +</tr><tr> +<td><a href="#ViewManager.getOpenEditorCount">getOpenEditorCount</a></td> +<td>Public method to return the count of editors displaying the given file.</td> +</tr><tr> +<td><a href="#ViewManager.getOpenEditors">getOpenEditors</a></td> +<td>Public method to get references to all open editors.</td> +</tr><tr> +<td><a href="#ViewManager.getOpenEditorsCount">getOpenEditorsCount</a></td> +<td>Public method to get the number of open editors.</td> +</tr><tr> +<td><a href="#ViewManager.getOpenFilenames">getOpenFilenames</a></td> +<td>Public method returning a list of the filenames of all editors.</td> +</tr><tr> +<td><a href="#ViewManager.getSRHistory">getSRHistory</a></td> +<td>Public method to get the search or replace history list.</td> +</tr><tr> +<td><a href="#ViewManager.handleResetUI">handleResetUI</a></td> +<td>Public slot to handle the resetUI signal.</td> +</tr><tr> +<td><a href="#ViewManager.initActions">initActions</a></td> +<td>Public method defining the user interface actions.</td> +</tr><tr> +<td><a href="#ViewManager.initBookmarkMenu">initBookmarkMenu</a></td> +<td>Public method to create the Bookmark menu</td> +</tr><tr> +<td><a href="#ViewManager.initBookmarkToolbar">initBookmarkToolbar</a></td> +<td>Public method to create the Bookmark toolbar</td> +</tr><tr> +<td><a href="#ViewManager.initEditMenu">initEditMenu</a></td> +<td>Public method to create the Edit menu</td> +</tr><tr> +<td><a href="#ViewManager.initEditToolbar">initEditToolbar</a></td> +<td>Public method to create the Edit toolbar</td> +</tr><tr> +<td><a href="#ViewManager.initFileMenu">initFileMenu</a></td> +<td>Public method to create the File menu.</td> +</tr><tr> +<td><a href="#ViewManager.initFileToolbar">initFileToolbar</a></td> +<td>Public method to create the File toolbar.</td> +</tr><tr> +<td><a href="#ViewManager.initMacroMenu">initMacroMenu</a></td> +<td>Public method to create the Macro menu</td> +</tr><tr> +<td><a href="#ViewManager.initSearchToolbars">initSearchToolbars</a></td> +<td>Public method to create the Search toolbars</td> +</tr><tr> +<td><a href="#ViewManager.initSpellingToolbar">initSpellingToolbar</a></td> +<td>Public method to create the Spelling toolbar</td> +</tr><tr> +<td><a href="#ViewManager.initViewMenu">initViewMenu</a></td> +<td>Public method to create the View menu</td> +</tr><tr> +<td><a href="#ViewManager.initViewToolbar">initViewToolbar</a></td> +<td>Public method to create the View toolbar</td> +</tr><tr> +<td><a href="#ViewManager.newEditor">newEditor</a></td> +<td>Public slot to generate a new empty editor.</td> +</tr><tr> +<td><a href="#ViewManager.newEditorView">newEditorView</a></td> +<td>Public method to create a new editor displaying the given document.</td> +</tr><tr> +<td><a href="#ViewManager.newProject">newProject</a></td> +<td>Public slot to handle the NewProject signal.</td> +</tr><tr> +<td><a href="#ViewManager.nextSplit">nextSplit</a></td> +<td>Public slot used to move to the next split.</td> +</tr><tr> +<td><a href="#ViewManager.openFiles">openFiles</a></td> +<td>Public slot to open some files.</td> +</tr><tr> +<td><a href="#ViewManager.openSourceFile">openSourceFile</a></td> +<td>Public slot to display a file in an editor.</td> +</tr><tr> +<td><a href="#ViewManager.preferencesChanged">preferencesChanged</a></td> +<td>Public slot to handle the preferencesChanged signal.</td> +</tr><tr> +<td><a href="#ViewManager.prevSplit">prevSplit</a></td> +<td>Public slot used to move to the previous split.</td> +</tr><tr> +<td><a href="#ViewManager.printCurrentEditor">printCurrentEditor</a></td> +<td>Public slot to print the contents of the current editor.</td> +</tr><tr> +<td><a href="#ViewManager.printEditor">printEditor</a></td> +<td>Public slot to print an editor.</td> +</tr><tr> +<td><a href="#ViewManager.printPreviewCurrentEditor">printPreviewCurrentEditor</a></td> +<td>Public slot to show a print preview of the current editor.</td> +</tr><tr> +<td><a href="#ViewManager.projectClosed">projectClosed</a></td> +<td>Public slot to handle the projectClosed signal.</td> +</tr><tr> +<td><a href="#ViewManager.projectFileRenamed">projectFileRenamed</a></td> +<td>Public slot to handle the projectFileRenamed signal.</td> +</tr><tr> +<td><a href="#ViewManager.projectLexerAssociationsChanged">projectLexerAssociationsChanged</a></td> +<td>Public slot to handle changes of the project lexer associations.</td> +</tr><tr> +<td><a href="#ViewManager.projectOpened">projectOpened</a></td> +<td>Public slot to handle the projectOpened signal.</td> +</tr><tr> +<td><a href="#ViewManager.removeSplit">removeSplit</a></td> +<td>Public method used to remove the current split view.</td> +</tr><tr> +<td><a href="#ViewManager.saveAllEditors">saveAllEditors</a></td> +<td>Public slot to save the contents of all editors.</td> +</tr><tr> +<td><a href="#ViewManager.saveAsCurrentEditor">saveAsCurrentEditor</a></td> +<td>Public slot to save the contents of the current editor to a new file.</td> +</tr><tr> +<td><a href="#ViewManager.saveAsEditorEd">saveAsEditorEd</a></td> +<td>Public slot to save the contents of an editor to a new file.</td> +</tr><tr> +<td><a href="#ViewManager.saveCurrentEditor">saveCurrentEditor</a></td> +<td>Public slot to save the contents of the current editor.</td> +</tr><tr> +<td><a href="#ViewManager.saveCurrentEditorToProject">saveCurrentEditorToProject</a></td> +<td>Public slot to save the contents of the current editor to the current project.</td> +</tr><tr> +<td><a href="#ViewManager.saveEditor">saveEditor</a></td> +<td>Public method to save a named editor file.</td> +</tr><tr> +<td><a href="#ViewManager.saveEditorEd">saveEditorEd</a></td> +<td>Public slot to save the contents of an editor.</td> +</tr><tr> +<td><a href="#ViewManager.saveEditorToProjectEd">saveEditorToProjectEd</a></td> +<td>Public slot to save the contents of an editor to the current project.</td> +</tr><tr> +<td><a href="#ViewManager.saveEditorsList">saveEditorsList</a></td> +<td>Public slot to save a list of editors.</td> +</tr><tr> +<td><a href="#ViewManager.setEditorName">setEditorName</a></td> +<td>Public method to change the displayed name of the editor.</td> +</tr><tr> +<td><a href="#ViewManager.setFileLine">setFileLine</a></td> +<td>Public method to update the user interface when the current program or line changes.</td> +</tr><tr> +<td><a href="#ViewManager.setReferences">setReferences</a></td> +<td>Public method to set some references needed later on.</td> +</tr><tr> +<td><a href="#ViewManager.setSbInfo">setSbInfo</a></td> +<td>Public method to transfer statusbar info from the user interface to viewmanager.</td> +</tr><tr> +<td><a href="#ViewManager.setSplitOrientation">setSplitOrientation</a></td> +<td>Public method used to set the orientation of the split view.</td> +</tr><tr> +<td><a href="#ViewManager.showDebugSource">showDebugSource</a></td> +<td>Public method to open the given file and highlight the given line in it.</td> +</tr><tr> +<td><a href="#ViewManager.showWindowMenu">showWindowMenu</a></td> +<td>Public method to set up the viewmanager part of the Window menu.</td> +</tr><tr> +<td><a href="#ViewManager.textForFind">textForFind</a></td> +<td>Public method to determine the selection or the current word for the next find operation.</td> +</tr><tr> +<td><a href="#ViewManager.tile">tile</a></td> +<td>Public method to tile the managed windows.</td> +</tr><tr> +<td><a href="#ViewManager.unhighlight">unhighlight</a></td> +<td>Public method to switch off all highlights.</td> +</tr> +</table> +<a NAME="ViewManager.__init__" ID="ViewManager.__init__"></a> +<h4>ViewManager (Constructor)</h4> +<b>ViewManager</b>(<i></i>) +<p> + Constructor +</p><dl> +<dt><i>ui</i></dt> +<dd> +reference to the main user interface +</dd><dt><i>dbs</i></dt> +<dd> +reference to the debug server object +</dd> +</dl><a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a> +<h4>ViewManager.__addBookmarked</h4> +<b>__addBookmarked</b>(<i></i>) +<p> + Private method to add the current file to the list of bookmarked files. +</p><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a> +<h4>ViewManager.__autosave</h4> +<b>__autosave</b>(<i></i>) +<p> + Private slot to save the contents of all editors automatically. +</p><p> + Only named editors will be saved by the autosave timer. +</p><a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a> +<h4>ViewManager.__bookmarkSelected</h4> +<b>__bookmarkSelected</b>(<i>act</i>) +<p> + Private method to handle the bookmark selected signal. +</p><dl> +<dt><i>act</i></dt> +<dd> +reference to the action that triggered (QAction) +</dd> +</dl><a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a> +<h4>ViewManager.__bookmarkToggled</h4> +<b>__bookmarkToggled</b>(<i>editor</i>) +<p> + Private slot to handle the bookmarkToggled signal. +</p><p> + It checks some bookmark actions and reemits the signal. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor that sent the signal +</dd> +</dl><a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a> +<h4>ViewManager.__breakpointToggled</h4> +<b>__breakpointToggled</b>(<i>editor</i>) +<p> + Private slot to handle the breakpointToggled signal. +</p><p> + It simply reemits the signal. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor that sent the signal +</dd> +</dl><a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a> +<h4>ViewManager.__clearAllBookmarks</h4> +<b>__clearAllBookmarks</b>(<i></i>) +<p> + Private method to handle the clear all bookmarks action. +</p><a NAME="ViewManager.__clearAllSyntaxErrors" ID="ViewManager.__clearAllSyntaxErrors"></a> +<h4>ViewManager.__clearAllSyntaxErrors</h4> +<b>__clearAllSyntaxErrors</b>(<i></i>) +<p> + Private method to handle the clear all syntax errors action. +</p><a NAME="ViewManager.__clearBookmarked" ID="ViewManager.__clearBookmarked"></a> +<h4>ViewManager.__clearBookmarked</h4> +<b>__clearBookmarked</b>(<i></i>) +<p> + Private method to clear the bookmarked files menu. +</p><a NAME="ViewManager.__clearRecent" ID="ViewManager.__clearRecent"></a> +<h4>ViewManager.__clearRecent</h4> +<b>__clearRecent</b>(<i></i>) +<p> + Private method to clear the recent files menu. +</p><a NAME="ViewManager.__connectEditor" ID="ViewManager.__connectEditor"></a> +<h4>ViewManager.__connectEditor</h4> +<b>__connectEditor</b>(<i>editor</i>) +<p> + Private method to establish all editor connections. +</p><dl> +<dt><i>editor</i></dt> +<dd> +reference to the editor object to be connected +</dd> +</dl><a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a> +<h4>ViewManager.__convertEOL</h4> +<b>__convertEOL</b>(<i></i>) +<p> + Private method to handle the convert line end characters action. +</p><a NAME="ViewManager.__coverageMarkersShown" ID="ViewManager.__coverageMarkersShown"></a> +<h4>ViewManager.__coverageMarkersShown</h4> +<b>__coverageMarkersShown</b>(<i>shown</i>) +<p> + Private slot to handle the coverageMarkersShown signal. +</p><dl> +<dt><i>shown</i></dt> +<dd> +flag indicating whether the markers were shown or cleared +</dd> +</dl><a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a> +<h4>ViewManager.__cursorChanged</h4> +<b>__cursorChanged</b>(<i>fn, line, pos</i>) +<p> + Private slot to handle the cursorChanged signal. +</p><p> + It emits the signal cursorChanged with parameter editor. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename (string) +</dd><dt><i>line</i></dt> +<dd> +line number of the cursor (int) +</dd><dt><i>pos</i></dt> +<dd> +position in line of the cursor (int) +</dd> +</dl><a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a> +<h4>ViewManager.__editAutoComplete</h4> +<b>__editAutoComplete</b>(<i></i>) +<p> + Private method to handle the autocomplete action. +</p><a NAME="ViewManager.__editAutoCompleteFromAPIs" ID="ViewManager.__editAutoCompleteFromAPIs"></a> +<h4>ViewManager.__editAutoCompleteFromAPIs</h4> +<b>__editAutoCompleteFromAPIs</b>(<i></i>) +<p> + Private method to handle the autocomplete from APIs action. +</p><a NAME="ViewManager.__editAutoCompleteFromAll" ID="ViewManager.__editAutoCompleteFromAll"></a> +<h4>ViewManager.__editAutoCompleteFromAll</h4> +<b>__editAutoCompleteFromAll</b>(<i></i>) +<p> + Private method to handle the autocomplete from All action. +</p><a NAME="ViewManager.__editAutoCompleteFromDoc" ID="ViewManager.__editAutoCompleteFromDoc"></a> +<h4>ViewManager.__editAutoCompleteFromDoc</h4> +<b>__editAutoCompleteFromDoc</b>(<i></i>) +<p> + Private method to handle the autocomplete from document action. +</p><a NAME="ViewManager.__editBookmarked" ID="ViewManager.__editBookmarked"></a> +<h4>ViewManager.__editBookmarked</h4> +<b>__editBookmarked</b>(<i></i>) +<p> + Private method to edit the list of bookmarked files. +</p><a NAME="ViewManager.__editBoxComment" ID="ViewManager.__editBoxComment"></a> +<h4>ViewManager.__editBoxComment</h4> +<b>__editBoxComment</b>(<i></i>) +<p> + Private method to handle the box comment action. +</p><a NAME="ViewManager.__editComment" ID="ViewManager.__editComment"></a> +<h4>ViewManager.__editComment</h4> +<b>__editComment</b>(<i></i>) +<p> + Private method to handle the comment action. +</p><a NAME="ViewManager.__editCopy" ID="ViewManager.__editCopy"></a> +<h4>ViewManager.__editCopy</h4> +<b>__editCopy</b>(<i></i>) +<p> + Private method to handle the copy action. +</p><a NAME="ViewManager.__editCut" ID="ViewManager.__editCut"></a> +<h4>ViewManager.__editCut</h4> +<b>__editCut</b>(<i></i>) +<p> + Private method to handle the cut action. +</p><a NAME="ViewManager.__editDelete" ID="ViewManager.__editDelete"></a> +<h4>ViewManager.__editDelete</h4> +<b>__editDelete</b>(<i></i>) +<p> + Private method to handle the delete action. +</p><a NAME="ViewManager.__editDeselectAll" ID="ViewManager.__editDeselectAll"></a> +<h4>ViewManager.__editDeselectAll</h4> +<b>__editDeselectAll</b>(<i></i>) +<p> + Private method to handle the select all action. +</p><a NAME="ViewManager.__editIndent" ID="ViewManager.__editIndent"></a> +<h4>ViewManager.__editIndent</h4> +<b>__editIndent</b>(<i></i>) +<p> + Private method to handle the indent action. +</p><a NAME="ViewManager.__editPaste" ID="ViewManager.__editPaste"></a> +<h4>ViewManager.__editPaste</h4> +<b>__editPaste</b>(<i></i>) +<p> + Private method to handle the paste action. +</p><a NAME="ViewManager.__editRedo" ID="ViewManager.__editRedo"></a> +<h4>ViewManager.__editRedo</h4> +<b>__editRedo</b>(<i></i>) +<p> + Private method to handle the redo action. +</p><a NAME="ViewManager.__editRevert" ID="ViewManager.__editRevert"></a> +<h4>ViewManager.__editRevert</h4> +<b>__editRevert</b>(<i></i>) +<p> + Private method to handle the revert action. +</p><a NAME="ViewManager.__editSelectAll" ID="ViewManager.__editSelectAll"></a> +<h4>ViewManager.__editSelectAll</h4> +<b>__editSelectAll</b>(<i></i>) +<p> + Private method to handle the select all action. +</p><a NAME="ViewManager.__editSelectBrace" ID="ViewManager.__editSelectBrace"></a> +<h4>ViewManager.__editSelectBrace</h4> +<b>__editSelectBrace</b>(<i></i>) +<p> + Private method to handle the select to brace action. +</p><a NAME="ViewManager.__editShowCallTips" ID="ViewManager.__editShowCallTips"></a> +<h4>ViewManager.__editShowCallTips</h4> +<b>__editShowCallTips</b>(<i></i>) +<p> + Private method to handle the calltips action. +</p><a NAME="ViewManager.__editSmartIndent" ID="ViewManager.__editSmartIndent"></a> +<h4>ViewManager.__editSmartIndent</h4> +<b>__editSmartIndent</b>(<i></i>) +<p> + Private method to handle the smart indent action +</p><a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a> +<h4>ViewManager.__editStreamComment</h4> +<b>__editStreamComment</b>(<i></i>) +<p> + Private method to handle the stream comment action. +</p><a NAME="ViewManager.__editUncomment" ID="ViewManager.__editUncomment"></a> +<h4>ViewManager.__editUncomment</h4> +<b>__editUncomment</b>(<i></i>) +<p> + Private method to handle the uncomment action. +</p><a NAME="ViewManager.__editUndo" ID="ViewManager.__editUndo"></a> +<h4>ViewManager.__editUndo</h4> +<b>__editUndo</b>(<i></i>) +<p> + Private method to handle the undo action. +</p><a NAME="ViewManager.__editUnindent" ID="ViewManager.__editUnindent"></a> +<h4>ViewManager.__editUnindent</h4> +<b>__editUnindent</b>(<i></i>) +<p> + Private method to handle the unindent action. +</p><a NAME="ViewManager.__editorAutoCompletionAPIsAvailable" ID="ViewManager.__editorAutoCompletionAPIsAvailable"></a> +<h4>ViewManager.__editorAutoCompletionAPIsAvailable</h4> +<b>__editorAutoCompletionAPIsAvailable</b>(<i>available</i>) +<p> + Private method to handle the availability of API autocompletion signal. +</p><a NAME="ViewManager.__editorCommand" ID="ViewManager.__editorCommand"></a> +<h4>ViewManager.__editorCommand</h4> +<b>__editorCommand</b>(<i>cmd</i>) +<p> + Private method to send an editor command to the active window. +</p><dl> +<dt><i>cmd</i></dt> +<dd> +the scintilla command to be sent +</dd> +</dl><a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> +<h4>ViewManager.__editorConfigChanged</h4> +<b>__editorConfigChanged</b>(<i></i>) +<p> + Private method to handle changes of an editors configuration (e.g. language). +</p><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> +<h4>ViewManager.__editorOpened</h4> +<b>__editorOpened</b>(<i></i>) +<p> + Private slot to handle the editorOpened signal. +</p><a NAME="ViewManager.__editorSaved" ID="ViewManager.__editorSaved"></a> +<h4>ViewManager.__editorSaved</h4> +<b>__editorSaved</b>(<i>fn</i>) +<p> + Private slot to handle the editorSaved signal. +</p><p> + It simply reemits the signal. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of the saved editor +</dd> +</dl><a NAME="ViewManager.__enableSpellingActions" ID="ViewManager.__enableSpellingActions"></a> +<h4>ViewManager.__enableSpellingActions</h4> +<b>__enableSpellingActions</b>(<i></i>) +<p> + Private method to set the enabled state of the spelling actions. +</p><a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a> +<h4>ViewManager.__exportMenuTriggered</h4> +<b>__exportMenuTriggered</b>(<i>act</i>) +<p> + Private method to handle the selection of an export format. +</p><dl> +<dt><i>act</i></dt> +<dd> +reference to the action that was triggered (QAction) +</dd> +</dl><a NAME="ViewManager.__findFileName" ID="ViewManager.__findFileName"></a> +<h4>ViewManager.__findFileName</h4> +<b>__findFileName</b>(<i></i>) +<p> + Private method to handle the search for file action. +</p><a NAME="ViewManager.__goto" ID="ViewManager.__goto"></a> +<h4>ViewManager.__goto</h4> +<b>__goto</b>(<i></i>) +<p> + Private method to handle the goto action. +</p><a NAME="ViewManager.__gotoBrace" ID="ViewManager.__gotoBrace"></a> +<h4>ViewManager.__gotoBrace</h4> +<b>__gotoBrace</b>(<i></i>) +<p> + Private method to handle the goto brace action. +</p><a NAME="ViewManager.__gotoSyntaxError" ID="ViewManager.__gotoSyntaxError"></a> +<h4>ViewManager.__gotoSyntaxError</h4> +<b>__gotoSyntaxError</b>(<i></i>) +<p> + Private method to handle the goto syntax error action. +</p><a NAME="ViewManager.__initBookmarkActions" ID="ViewManager.__initBookmarkActions"></a> +<h4>ViewManager.__initBookmarkActions</h4> +<b>__initBookmarkActions</b>(<i></i>) +<p> + Private method defining the user interface actions for the bookmarks commands. +</p><a NAME="ViewManager.__initContextMenuExporters" ID="ViewManager.__initContextMenuExporters"></a> +<h4>ViewManager.__initContextMenuExporters</h4> +<b>__initContextMenuExporters</b>(<i></i>) +<p> + Private method used to setup the Exporters sub menu. +</p><a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a> +<h4>ViewManager.__initEditActions</h4> +<b>__initEditActions</b>(<i></i>) +<p> + Private method defining the user interface actions for the edit commands. +</p><a NAME="ViewManager.__initFileActions" ID="ViewManager.__initFileActions"></a> +<h4>ViewManager.__initFileActions</h4> +<b>__initFileActions</b>(<i></i>) +<p> + Private method defining the user interface actions for file handling. +</p><a NAME="ViewManager.__initMacroActions" ID="ViewManager.__initMacroActions"></a> +<h4>ViewManager.__initMacroActions</h4> +<b>__initMacroActions</b>(<i></i>) +<p> + Private method defining the user interface actions for the macro commands. +</p><a NAME="ViewManager.__initSearchActions" ID="ViewManager.__initSearchActions"></a> +<h4>ViewManager.__initSearchActions</h4> +<b>__initSearchActions</b>(<i></i>) +<p> + Private method defining the user interface actions for the search commands. +</p><a NAME="ViewManager.__initSpellingActions" ID="ViewManager.__initSpellingActions"></a> +<h4>ViewManager.__initSpellingActions</h4> +<b>__initSpellingActions</b>(<i></i>) +<p> + Private method to initialize the spell checking actions. +</p><a NAME="ViewManager.__initViewActions" ID="ViewManager.__initViewActions"></a> +<h4>ViewManager.__initViewActions</h4> +<b>__initViewActions</b>(<i></i>) +<p> + Private method defining the user interface actions for the view commands. +</p><a NAME="ViewManager.__lastEditorClosed" ID="ViewManager.__lastEditorClosed"></a> +<h4>ViewManager.__lastEditorClosed</h4> +<b>__lastEditorClosed</b>(<i></i>) +<p> + Private slot to handle the lastEditorClosed signal. +</p><a NAME="ViewManager.__loadRecent" ID="ViewManager.__loadRecent"></a> +<h4>ViewManager.__loadRecent</h4> +<b>__loadRecent</b>(<i></i>) +<p> + Private method to load the recently opened filenames. +</p><a NAME="ViewManager.__macroDelete" ID="ViewManager.__macroDelete"></a> +<h4>ViewManager.__macroDelete</h4> +<b>__macroDelete</b>(<i></i>) +<p> + Private method to handle the delete macro action. +</p><a NAME="ViewManager.__macroLoad" ID="ViewManager.__macroLoad"></a> +<h4>ViewManager.__macroLoad</h4> +<b>__macroLoad</b>(<i></i>) +<p> + Private method to handle the load macro action. +</p><a NAME="ViewManager.__macroRun" ID="ViewManager.__macroRun"></a> +<h4>ViewManager.__macroRun</h4> +<b>__macroRun</b>(<i></i>) +<p> + Private method to handle the run macro action. +</p><a NAME="ViewManager.__macroSave" ID="ViewManager.__macroSave"></a> +<h4>ViewManager.__macroSave</h4> +<b>__macroSave</b>(<i></i>) +<p> + Private method to handle the save macro action. +</p><a NAME="ViewManager.__macroStartRecording" ID="ViewManager.__macroStartRecording"></a> +<h4>ViewManager.__macroStartRecording</h4> +<b>__macroStartRecording</b>(<i></i>) +<p> + Private method to handle the start macro recording action. +</p><a NAME="ViewManager.__macroStopRecording" ID="ViewManager.__macroStopRecording"></a> +<h4>ViewManager.__macroStopRecording</h4> +<b>__macroStopRecording</b>(<i></i>) +<p> + Private method to handle the stop macro recording action. +</p><a NAME="ViewManager.__newLineBelow" ID="ViewManager.__newLineBelow"></a> +<h4>ViewManager.__newLineBelow</h4> +<b>__newLineBelow</b>(<i></i>) +<p> + Private method to insert a new line below the current one even if + cursor is not at the end of the line. +</p><a NAME="ViewManager.__nextBookmark" ID="ViewManager.__nextBookmark"></a> +<h4>ViewManager.__nextBookmark</h4> +<b>__nextBookmark</b>(<i></i>) +<p> + Private method to handle the next bookmark action. +</p><a NAME="ViewManager.__nextTask" ID="ViewManager.__nextTask"></a> +<h4>ViewManager.__nextTask</h4> +<b>__nextTask</b>(<i></i>) +<p> + Private method to handle the next task action. +</p><a NAME="ViewManager.__nextUncovered" ID="ViewManager.__nextUncovered"></a> +<h4>ViewManager.__nextUncovered</h4> +<b>__nextUncovered</b>(<i></i>) +<p> + Private method to handle the next uncovered action. +</p><a NAME="ViewManager.__openSourceFile" ID="ViewManager.__openSourceFile"></a> +<h4>ViewManager.__openSourceFile</h4> +<b>__openSourceFile</b>(<i>act</i>) +<p> + Private method to open a file from the list of rencently opened files. +</p><dl> +<dt><i>act</i></dt> +<dd> +reference to the action that triggered (QAction) +</dd> +</dl><a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> +<h4>ViewManager.__previousBookmark</h4> +<b>__previousBookmark</b>(<i></i>) +<p> + Private method to handle the previous bookmark action. +</p><a NAME="ViewManager.__previousTask" ID="ViewManager.__previousTask"></a> +<h4>ViewManager.__previousTask</h4> +<b>__previousTask</b>(<i></i>) +<p> + Private method to handle the previous task action. +</p><a NAME="ViewManager.__previousUncovered" ID="ViewManager.__previousUncovered"></a> +<h4>ViewManager.__previousUncovered</h4> +<b>__previousUncovered</b>(<i></i>) +<p> + Private method to handle the previous uncovered action. +</p><a NAME="ViewManager.__quickSearch" ID="ViewManager.__quickSearch"></a> +<h4>ViewManager.__quickSearch</h4> +<b>__quickSearch</b>(<i></i>) +<p> + Private slot to handle the incremental quick search. +</p><a NAME="ViewManager.__quickSearchEnter" ID="ViewManager.__quickSearchEnter"></a> +<h4>ViewManager.__quickSearchEnter</h4> +<b>__quickSearchEnter</b>(<i></i>) +<p> + Private slot to handle the incremental quick search return pressed + (jump back to text) +</p><a NAME="ViewManager.__quickSearchEscape" ID="ViewManager.__quickSearchEscape"></a> +<h4>ViewManager.__quickSearchEscape</h4> +<b>__quickSearchEscape</b>(<i></i>) +<p> + Private slot to handle the incremental quick search escape pressed + (jump back to text) +</p><a NAME="ViewManager.__quickSearchExtend" ID="ViewManager.__quickSearchExtend"></a> +<h4>ViewManager.__quickSearchExtend</h4> +<b>__quickSearchExtend</b>(<i></i>) +<p> + Private method to handle the quicksearch extend action. +</p><a NAME="ViewManager.__quickSearchFocusIn" ID="ViewManager.__quickSearchFocusIn"></a> +<h4>ViewManager.__quickSearchFocusIn</h4> +<b>__quickSearchFocusIn</b>(<i></i>) +<p> + Private method to handle a focus in signal of the quicksearch lineedit. +</p><a NAME="ViewManager.__quickSearchInEditor" ID="ViewManager.__quickSearchInEditor"></a> +<h4>ViewManager.__quickSearchInEditor</h4> +<b>__quickSearchInEditor</b>(<i>again, back</i>) +<p> + Private slot to perform a quick search. +</p><dl> +<dt><i>again</i></dt> +<dd> +flag indicating a repeat of the last search (boolean) +</dd><dt><i>back</i></dt> +<dd> +flag indicating a backwards search operation (boolean) +</dd> +</dl><a NAME="ViewManager.__quickSearchMarkOccurrences" ID="ViewManager.__quickSearchMarkOccurrences"></a> +<h4>ViewManager.__quickSearchMarkOccurrences</h4> +<b>__quickSearchMarkOccurrences</b>(<i>txt</i>) +<p> + Private method to mark all occurrences of the search text. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to search for (string) +</dd> +</dl><a NAME="ViewManager.__quickSearchPrev" ID="ViewManager.__quickSearchPrev"></a> +<h4>ViewManager.__quickSearchPrev</h4> +<b>__quickSearchPrev</b>(<i></i>) +<p> + Private slot to handle the quickFindPrev toolbutton action. +</p><a NAME="ViewManager.__quickSearchText" ID="ViewManager.__quickSearchText"></a> +<h4>ViewManager.__quickSearchText</h4> +<b>__quickSearchText</b>(<i></i>) +<p> + Private slot to handle the textChanged signal of the quicksearch edit. +</p><a NAME="ViewManager.__replace" ID="ViewManager.__replace"></a> +<h4>ViewManager.__replace</h4> +<b>__replace</b>(<i></i>) +<p> + Private method to handle the replace action. +</p><a NAME="ViewManager.__replaceFiles" ID="ViewManager.__replaceFiles"></a> +<h4>ViewManager.__replaceFiles</h4> +<b>__replaceFiles</b>(<i></i>) +<p> + Private method to handle the replace in files action. +</p><a NAME="ViewManager.__saveRecent" ID="ViewManager.__saveRecent"></a> +<h4>ViewManager.__saveRecent</h4> +<b>__saveRecent</b>(<i></i>) +<p> + Private method to save the list of recently opened filenames. +</p><a NAME="ViewManager.__search" ID="ViewManager.__search"></a> +<h4>ViewManager.__search</h4> +<b>__search</b>(<i></i>) +<p> + Private method to handle the search action. +</p><a NAME="ViewManager.__searchClearMarkers" ID="ViewManager.__searchClearMarkers"></a> +<h4>ViewManager.__searchClearMarkers</h4> +<b>__searchClearMarkers</b>(<i></i>) +<p> + Private method to clear the search markers of the active window. +</p><a NAME="ViewManager.__searchFiles" ID="ViewManager.__searchFiles"></a> +<h4>ViewManager.__searchFiles</h4> +<b>__searchFiles</b>(<i></i>) +<p> + Private method to handle the search in files action. +</p><a NAME="ViewManager.__setAutoSpellChecking" ID="ViewManager.__setAutoSpellChecking"></a> +<h4>ViewManager.__setAutoSpellChecking</h4> +<b>__setAutoSpellChecking</b>(<i></i>) +<p> + Private slot to set the automatic spell checking of all editors. +</p><a NAME="ViewManager.__setSbFile" ID="ViewManager.__setSbFile"></a> +<h4>ViewManager.__setSbFile</h4> +<b>__setSbFile</b>(<i>fn = None, line = None, pos = None, encoding = None, language = None, eol = None</i>) +<p> + Private method to set the file info in the status bar. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename to display (string) +</dd><dt><i>line</i></dt> +<dd> +line number to display (int) +</dd><dt><i>pos</i></dt> +<dd> +character position to display (int) +</dd><dt><i>encoding</i></dt> +<dd> +encoding name to display (string) +</dd><dt><i>language</i></dt> +<dd> +language to display (string) +</dd><dt><i>eol</i></dt> +<dd> +eol indicator to display (string) +</dd> +</dl><a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a> +<h4>ViewManager.__shortenEmptyLines</h4> +<b>__shortenEmptyLines</b>(<i></i>) +<p> + Private method to handle the shorten empty lines action. +</p><a NAME="ViewManager.__showBookmarkMenu" ID="ViewManager.__showBookmarkMenu"></a> +<h4>ViewManager.__showBookmarkMenu</h4> +<b>__showBookmarkMenu</b>(<i></i>) +<p> + Private method to set up the bookmark menu. +</p><a NAME="ViewManager.__showBookmarkedMenu" ID="ViewManager.__showBookmarkedMenu"></a> +<h4>ViewManager.__showBookmarkedMenu</h4> +<b>__showBookmarkedMenu</b>(<i></i>) +<p> + Private method to set up bookmarked files menu. +</p><a NAME="ViewManager.__showBookmarksMenu" ID="ViewManager.__showBookmarksMenu"></a> +<h4>ViewManager.__showBookmarksMenu</h4> +<b>__showBookmarksMenu</b>(<i></i>) +<p> + Private method to handle the show bookmarks menu signal. +</p><a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a> +<h4>ViewManager.__showFileMenu</h4> +<b>__showFileMenu</b>(<i></i>) +<p> + Private method to set up the file menu. +</p><a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a> +<h4>ViewManager.__showRecentMenu</h4> +<b>__showRecentMenu</b>(<i></i>) +<p> + Private method to set up recent files menu. +</p><a NAME="ViewManager.__spellCheck" ID="ViewManager.__spellCheck"></a> +<h4>ViewManager.__spellCheck</h4> +<b>__spellCheck</b>(<i></i>) +<p> + Private slot to perform a spell check of the current editor. +</p><a NAME="ViewManager.__splitOrientation" ID="ViewManager.__splitOrientation"></a> +<h4>ViewManager.__splitOrientation</h4> +<b>__splitOrientation</b>(<i>checked</i>) +<p> + Private method to handle the split orientation action. +</p><a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a> +<h4>ViewManager.__splitView</h4> +<b>__splitView</b>(<i></i>) +<p> + Private method to handle the split view action. +</p><a NAME="ViewManager.__taskMarkersUpdated" ID="ViewManager.__taskMarkersUpdated"></a> +<h4>ViewManager.__taskMarkersUpdated</h4> +<b>__taskMarkersUpdated</b>(<i>editor</i>) +<p> + Protected slot to handle the syntaxerrorToggled signal. +</p><p> + It checks some syntax error actions and reemits the signal. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor that sent the signal +</dd> +</dl><a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a> +<h4>ViewManager.__toggleAll</h4> +<b>__toggleAll</b>(<i></i>) +<p> + Private method to handle the toggle all folds action. +</p><a NAME="ViewManager.__toggleAllChildren" ID="ViewManager.__toggleAllChildren"></a> +<h4>ViewManager.__toggleAllChildren</h4> +<b>__toggleAllChildren</b>(<i></i>) +<p> + Private method to handle the toggle all folds (including children) action. +</p><a NAME="ViewManager.__toggleBookmark" ID="ViewManager.__toggleBookmark"></a> +<h4>ViewManager.__toggleBookmark</h4> +<b>__toggleBookmark</b>(<i></i>) +<p> + Private method to handle the toggle bookmark action. +</p><a NAME="ViewManager.__toggleCurrent" ID="ViewManager.__toggleCurrent"></a> +<h4>ViewManager.__toggleCurrent</h4> +<b>__toggleCurrent</b>(<i></i>) +<p> + Private method to handle the toggle current fold action. +</p><a NAME="ViewManager.__zoom" ID="ViewManager.__zoom"></a> +<h4>ViewManager.__zoom</h4> +<b>__zoom</b>(<i></i>) +<p> + Private method to handle the zoom action. +</p><a NAME="ViewManager.__zoomIn" ID="ViewManager.__zoomIn"></a> +<h4>ViewManager.__zoomIn</h4> +<b>__zoomIn</b>(<i></i>) +<p> + Private method to handle the zoom in action. +</p><a NAME="ViewManager.__zoomOut" ID="ViewManager.__zoomOut"></a> +<h4>ViewManager.__zoomOut</h4> +<b>__zoomOut</b>(<i></i>) +<p> + Private method to handle the zoom out action. +</p><a NAME="ViewManager._addView" ID="ViewManager._addView"></a> +<h4>ViewManager._addView</h4> +<b>_addView</b>(<i>win, fn=None, noName=""</i>) +<p> + Protected method to add a view (i.e. window) +</p><dl> +<dt><i>win</i></dt> +<dd> +editor window to be added +</dd><dt><i>fn</i></dt> +<dd> +filename of this editor +</dd><dt><i>noName</i></dt> +<dd> +name to be used for an unnamed editor (string) +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._checkActions" ID="ViewManager._checkActions"></a> +<h4>ViewManager._checkActions</h4> +<b>_checkActions</b>(<i>editor, setSb = True</i>) +<p> + Protected slot to check some actions for their enable/disable status + and set the statusbar info. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor window +</dd><dt><i>setSb</i></dt> +<dd> +flag indicating an update of the status bar is wanted (boolean) +</dd> +</dl><a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a> +<h4>ViewManager._getOpenFileFilter</h4> +<b>_getOpenFileFilter</b>(<i></i>) +<p> + Protected method to return the active filename filter for a file open dialog. +</p><p> + The appropriate filename filter is determined by file extension of + the currently active editor. +</p><dl> +<dt>Returns:</dt> +<dd> +name of the filename filter (string) or None +</dd> +</dl><a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a> +<h4>ViewManager._getOpenStartDir</h4> +<b>_getOpenStartDir</b>(<i></i>) +<p> + Protected method to return the starting directory for a file open dialog. +</p><p> + The appropriate starting directory is calculated + using the following search order, until a match is found:<br /> + 1: Directory of currently active editor<br /> + 2: Directory of currently active Project<br /> + 3: CWD +</p><dl> +<dt>Returns:</dt> +<dd> +name of directory to start (string) +</dd> +</dl><a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a> +<h4>ViewManager._initWindowActions</h4> +<b>_initWindowActions</b>(<i></i>) +<p> + Protected method to define the user interface actions for window handling. +</p><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._modificationStatusChanged" ID="ViewManager._modificationStatusChanged"></a> +<h4>ViewManager._modificationStatusChanged</h4> +<b>_modificationStatusChanged</b>(<i>m, editor</i>) +<p> + Protected slot to handle the modificationStatusChanged signal. +</p><dl> +<dt><i>m</i></dt> +<dd> +flag indicating the modification status (boolean) +</dd><dt><i>editor</i></dt> +<dd> +editor window changed +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._removeAllViews" ID="ViewManager._removeAllViews"></a> +<h4>ViewManager._removeAllViews</h4> +<b>_removeAllViews</b>(<i></i>) +<p> + Protected method to remove all views (i.e. windows) +</p><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._removeView" ID="ViewManager._removeView"></a> +<h4>ViewManager._removeView</h4> +<b>_removeView</b>(<i>win</i>) +<p> + Protected method to remove a view (i.e. window) +</p><dl> +<dt><i>win</i></dt> +<dd> +editor window to be removed +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._showView" ID="ViewManager._showView"></a> +<h4>ViewManager._showView</h4> +<b>_showView</b>(<i>win, fn=None</i>) +<p> + Protected method to show a view (i.e. window) +</p><dl> +<dt><i>win</i></dt> +<dd> +editor window to be shown +</dd><dt><i>fn</i></dt> +<dd> +filename of this editor +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager._syntaxErrorToggled" ID="ViewManager._syntaxErrorToggled"></a> +<h4>ViewManager._syntaxErrorToggled</h4> +<b>_syntaxErrorToggled</b>(<i>editor</i>) +<p> + Protected slot to handle the syntaxerrorToggled signal. +</p><p> + It checks some syntax error actions and reemits the signal. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor that sent the signal +</dd> +</dl><a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a> +<h4>ViewManager.activeWindow</h4> +<b>activeWindow</b>(<i></i>) +<p> + Public method to return the active (i.e. current) window. +</p><dl> +<dt>Returns:</dt> +<dd> +reference to the active editor +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.addSplit" ID="ViewManager.addSplit"></a> +<h4>ViewManager.addSplit</h4> +<b>addSplit</b>(<i></i>) +<p> + Public method used to split the current view. +</p><a NAME="ViewManager.addToExtrasMenu" ID="ViewManager.addToExtrasMenu"></a> +<h4>ViewManager.addToExtrasMenu</h4> +<b>addToExtrasMenu</b>(<i>menu</i>) +<p> + Public method to add some actions to the extras menu. +</p><a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a> +<h4>ViewManager.addToRecentList</h4> +<b>addToRecentList</b>(<i>fn</i>) +<p> + Public slot to add a filename to the list of recently opened files. +</p><dl> +<dt><i>fn</i></dt> +<dd> +name of the file to be added +</dd> +</dl><a NAME="ViewManager.canCascade" ID="ViewManager.canCascade"></a> +<h4>ViewManager.canCascade</h4> +<b>canCascade</b>(<i></i>) +<p> + Public method to signal if cascading of managed windows is available. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating cascading of windows is available +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.canSplit" ID="ViewManager.canSplit"></a> +<h4>ViewManager.canSplit</h4> +<b>canSplit</b>(<i></i>) +<p> + Public method to signal if splitting of the view is available. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating splitting of the view is available. +</dd> +</dl><a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a> +<h4>ViewManager.canTile</h4> +<b>canTile</b>(<i></i>) +<p> + Public method to signal if tiling of managed windows is available. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating tiling of windows is available +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.cascade" ID="ViewManager.cascade"></a> +<h4>ViewManager.cascade</h4> +<b>cascade</b>(<i></i>) +<p> + Public method to cascade the managed windows. +</p><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.checkAllDirty" ID="ViewManager.checkAllDirty"></a> +<h4>ViewManager.checkAllDirty</h4> +<b>checkAllDirty</b>(<i></i>) +<p> + Public method to check the dirty status of all editors. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating successful reset of all dirty flags (boolean) +</dd> +</dl><a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> +<h4>ViewManager.checkDirty</h4> +<b>checkDirty</b>(<i>editor, autosave = False</i>) +<p> + Public method to check dirty status and open a message window. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor window to check +</dd><dt><i>autosave</i></dt> +<dd> +flag indicating that the file should be saved + automatically (boolean) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating successful reset of the dirty flag (boolean) +</dd> +</dl><a NAME="ViewManager.cloneEditor" ID="ViewManager.cloneEditor"></a> +<h4>ViewManager.cloneEditor</h4> +<b>cloneEditor</b>(<i>caller, filetype, fn</i>) +<p> + Public method to clone an editor displaying the given document. +</p><dl> +<dt><i>caller</i></dt> +<dd> +reference to the editor calling this method +</dd><dt><i>filetype</i></dt> +<dd> +type of the source file (string) +</dd><dt><i>fn</i></dt> +<dd> +filename of this view +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +reference to the new editor object (Editor.Editor) +</dd> +</dl><a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a> +<h4>ViewManager.closeAllWindows</h4> +<b>closeAllWindows</b>(<i></i>) +<p> + Private method to close all editor windows via file menu. +</p><a NAME="ViewManager.closeCurrentWindow" ID="ViewManager.closeCurrentWindow"></a> +<h4>ViewManager.closeCurrentWindow</h4> +<b>closeCurrentWindow</b>(<i></i>) +<p> + Public method to close the current window. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a> +<h4>ViewManager.closeEditor</h4> +<b>closeEditor</b>(<i>editor</i>) +<p> + Public method to close an editor window. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor window to be closed +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a> +<h4>ViewManager.closeEditorWindow</h4> +<b>closeEditorWindow</b>(<i>editor</i>) +<p> + Public method to close an arbitrary source editor. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor to be closed +</dd> +</dl><a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a> +<h4>ViewManager.closeViewManager</h4> +<b>closeViewManager</b>(<i></i>) +<p> + Public method to shutdown the viewmanager. +</p><p> + If it cannot close all editor windows, it aborts the shutdown process. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a> +<h4>ViewManager.closeWindow</h4> +<b>closeWindow</b>(<i>fn</i>) +<p> + Public method to close an arbitrary source editor. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of editor to be closed +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a> +<h4>ViewManager.editorsCheckFocusInEnabled</h4> +<b>editorsCheckFocusInEnabled</b>(<i></i>) +<p> + Public method returning the flag indicating editors should perform + focus in checks. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating focus in checks should be performed (boolean) +</dd> +</dl><a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a> +<h4>ViewManager.enableEditorsCheckFocusIn</h4> +<b>enableEditorsCheckFocusIn</b>(<i>enabled</i>) +<p> + Public method to set a flag enabling the editors to perform focus in checks. +</p><dl> +<dt><i>enabled</i></dt> +<dd> +flag indicating focus in checks should be performed (boolean) +</dd> +</dl><a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a> +<h4>ViewManager.eventFilter</h4> +<b>eventFilter</b>(<i>object, event</i>) +<p> + Public method called to filter an event. +</p><dl> +<dt><i>object</i></dt> +<dd> +object, that generated the event (QObject) +</dd><dt><i>event</i></dt> +<dd> +the event, that was generated by object (QEvent) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating if event was filtered out +</dd> +</dl><a NAME="ViewManager.exit" ID="ViewManager.exit"></a> +<h4>ViewManager.exit</h4> +<b>exit</b>(<i></i>) +<p> + Public method to handle the debugged program terminating. +</p><a NAME="ViewManager.getAPIsManager" ID="ViewManager.getAPIsManager"></a> +<h4>ViewManager.getAPIsManager</h4> +<b>getAPIsManager</b>(<i></i>) +<p> + Public method to get a reference to the APIs manager. +</p><dl> +<dt>Returns:</dt> +<dd> +the APIs manager object (eric5.QScintilla.APIsManager) +</dd> +</dl><a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a> +<h4>ViewManager.getActions</h4> +<b>getActions</b>(<i>type</i>) +<p> + Public method to get a list of all actions. +</p><dl> +<dt><i>type</i></dt> +<dd> +string denoting the action set to get. + It must be one of "edit", "file", "search", + "view", "window", "macro", "bookmark" or + "spelling". +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +list of all actions (list of E4Action) +</dd> +</dl><a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a> +<h4>ViewManager.getActiveName</h4> +<b>getActiveName</b>(<i></i>) +<p> + Public method to retrieve the filename of the active window. +</p><dl> +<dt>Returns:</dt> +<dd> +filename of active window (string) +</dd> +</dl><a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a> +<h4>ViewManager.getEditor</h4> +<b>getEditor</b>(<i>fn, filetype = ""</i>) +<p> + Public method to return the editor displaying the given file. +</p><p> + If there is no editor with the given file, a new editor window is + created. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename to look for +</dd><dt><i>filetype</i></dt> +<dd> +type of the source file (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +tuple of two values giving a flag indicating a new window creation and + a reference to the editor displaying this file +</dd> +</dl><a NAME="ViewManager.getMostRecent" ID="ViewManager.getMostRecent"></a> +<h4>ViewManager.getMostRecent</h4> +<b>getMostRecent</b>(<i></i>) +<p> + Public method to get the most recently opened file. +</p><dl> +<dt>Returns:</dt> +<dd> +path of the most recently opened file (string) +</dd> +</dl><a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a> +<h4>ViewManager.getOpenEditor</h4> +<b>getOpenEditor</b>(<i>fn</i>) +<p> + Public method to return the editor displaying the given file. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename to look for +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +a reference to the editor displaying this file or None, if + no editor was found +</dd> +</dl><a NAME="ViewManager.getOpenEditorCount" ID="ViewManager.getOpenEditorCount"></a> +<h4>ViewManager.getOpenEditorCount</h4> +<b>getOpenEditorCount</b>(<i>fn</i>) +<p> + Public method to return the count of editors displaying the given file. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename to look for +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +count of editors displaying this file (integer) +</dd> +</dl><a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a> +<h4>ViewManager.getOpenEditors</h4> +<b>getOpenEditors</b>(<i></i>) +<p> + Public method to get references to all open editors. +</p><dl> +<dt>Returns:</dt> +<dd> +list of references to all open editors (list of QScintilla.editor) +</dd> +</dl><a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a> +<h4>ViewManager.getOpenEditorsCount</h4> +<b>getOpenEditorsCount</b>(<i></i>) +<p> + Public method to get the number of open editors. +</p><dl> +<dt>Returns:</dt> +<dd> +number of open editors (integer) +</dd> +</dl><a NAME="ViewManager.getOpenFilenames" ID="ViewManager.getOpenFilenames"></a> +<h4>ViewManager.getOpenFilenames</h4> +<b>getOpenFilenames</b>(<i></i>) +<p> + Public method returning a list of the filenames of all editors. +</p><dl> +<dt>Returns:</dt> +<dd> +list of all opened filenames (list of strings) +</dd> +</dl><a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a> +<h4>ViewManager.getSRHistory</h4> +<b>getSRHistory</b>(<i>key</i>) +<p> + Public method to get the search or replace history list. +</p><dl> +<dt><i>key</i></dt> +<dd> +list to return (must be 'search' or 'replace') +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the requested history list (list of strings) +</dd> +</dl><a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a> +<h4>ViewManager.handleResetUI</h4> +<b>handleResetUI</b>(<i></i>) +<p> + Public slot to handle the resetUI signal. +</p><a NAME="ViewManager.initActions" ID="ViewManager.initActions"></a> +<h4>ViewManager.initActions</h4> +<b>initActions</b>(<i></i>) +<p> + Public method defining the user interface actions. +</p><a NAME="ViewManager.initBookmarkMenu" ID="ViewManager.initBookmarkMenu"></a> +<h4>ViewManager.initBookmarkMenu</h4> +<b>initBookmarkMenu</b>(<i></i>) +<p> + Public method to create the Bookmark menu +</p><dl> +<dt>Returns:</dt> +<dd> +the generated menu +</dd> +</dl><a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a> +<h4>ViewManager.initBookmarkToolbar</h4> +<b>initBookmarkToolbar</b>(<i>toolbarManager</i>) +<p> + Public method to create the Bookmark toolbar +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the generated toolbar +</dd> +</dl><a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a> +<h4>ViewManager.initEditMenu</h4> +<b>initEditMenu</b>(<i></i>) +<p> + Public method to create the Edit menu +</p><dl> +<dt>Returns:</dt> +<dd> +the generated menu +</dd> +</dl><a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a> +<h4>ViewManager.initEditToolbar</h4> +<b>initEditToolbar</b>(<i>toolbarManager</i>) +<p> + Public method to create the Edit toolbar +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the generated toolbar +</dd> +</dl><a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a> +<h4>ViewManager.initFileMenu</h4> +<b>initFileMenu</b>(<i></i>) +<p> + Public method to create the File menu. +</p><dl> +<dt>Returns:</dt> +<dd> +the generated menu +</dd> +</dl><a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a> +<h4>ViewManager.initFileToolbar</h4> +<b>initFileToolbar</b>(<i>toolbarManager</i>) +<p> + Public method to create the File toolbar. +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the generated toolbar +</dd> +</dl><a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a> +<h4>ViewManager.initMacroMenu</h4> +<b>initMacroMenu</b>(<i></i>) +<p> + Public method to create the Macro menu +</p><dl> +<dt>Returns:</dt> +<dd> +the generated menu +</dd> +</dl><a NAME="ViewManager.initSearchToolbars" ID="ViewManager.initSearchToolbars"></a> +<h4>ViewManager.initSearchToolbars</h4> +<b>initSearchToolbars</b>(<i>toolbarManager</i>) +<p> + Public method to create the Search toolbars +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +a tuple of the generated toolbar (search, quicksearch) +</dd> +</dl><a NAME="ViewManager.initSpellingToolbar" ID="ViewManager.initSpellingToolbar"></a> +<h4>ViewManager.initSpellingToolbar</h4> +<b>initSpellingToolbar</b>(<i>toolbarManager</i>) +<p> + Public method to create the Spelling toolbar +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the generated toolbar +</dd> +</dl><a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a> +<h4>ViewManager.initViewMenu</h4> +<b>initViewMenu</b>(<i></i>) +<p> + Public method to create the View menu +</p><dl> +<dt>Returns:</dt> +<dd> +the generated menu +</dd> +</dl><a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a> +<h4>ViewManager.initViewToolbar</h4> +<b>initViewToolbar</b>(<i>toolbarManager</i>) +<p> + Public method to create the View toolbar +</p><dl> +<dt><i>toolbarManager</i></dt> +<dd> +reference to a toolbar manager object (E4ToolBarManager) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the generated toolbar +</dd> +</dl><a NAME="ViewManager.newEditor" ID="ViewManager.newEditor"></a> +<h4>ViewManager.newEditor</h4> +<b>newEditor</b>(<i></i>) +<p> + Public slot to generate a new empty editor. +</p><a NAME="ViewManager.newEditorView" ID="ViewManager.newEditorView"></a> +<h4>ViewManager.newEditorView</h4> +<b>newEditorView</b>(<i>fn, caller, filetype = ""</i>) +<p> + Public method to create a new editor displaying the given document. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of this view +</dd><dt><i>caller</i></dt> +<dd> +reference to the editor calling this method +</dd><dt><i>filetype</i></dt> +<dd> +type of the source file (string) +</dd> +</dl><a NAME="ViewManager.newProject" ID="ViewManager.newProject"></a> +<h4>ViewManager.newProject</h4> +<b>newProject</b>(<i></i>) +<p> + Public slot to handle the NewProject signal. +</p><a NAME="ViewManager.nextSplit" ID="ViewManager.nextSplit"></a> +<h4>ViewManager.nextSplit</h4> +<b>nextSplit</b>(<i></i>) +<p> + Public slot used to move to the next split. +</p><a NAME="ViewManager.openFiles" ID="ViewManager.openFiles"></a> +<h4>ViewManager.openFiles</h4> +<b>openFiles</b>(<i>prog = None</i>) +<p> + Public slot to open some files. +</p><dl> +<dt><i>prog</i></dt> +<dd> +name of file to be opened (string) +</dd> +</dl><a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a> +<h4>ViewManager.openSourceFile</h4> +<b>openSourceFile</b>(<i>fn, lineno = None, filetype = "", selection = None</i>) +<p> + Public slot to display a file in an editor. +</p><dl> +<dt><i>fn</i></dt> +<dd> +name of file to be opened +</dd><dt><i>lineno</i></dt> +<dd> +line number to place the cursor at +</dd><dt><i>filetype</i></dt> +<dd> +type of the source file (string) +</dd><dt><i>selection</i></dt> +<dd> +tuple (start, end) of an area to be selected +</dd> +</dl><a NAME="ViewManager.preferencesChanged" ID="ViewManager.preferencesChanged"></a> +<h4>ViewManager.preferencesChanged</h4> +<b>preferencesChanged</b>(<i></i>) +<p> + Public slot to handle the preferencesChanged signal. +</p><p> + This method performs the following actions + <ul> + <li>reread the colours for the syntax highlighting</li> + <li>reloads the already created API objetcs</li> + <li>starts or stops the autosave timer</li> + <li><b>Note</b>: changes in viewmanager type are activated + on an application restart.</li> + </ul> +</p><a NAME="ViewManager.prevSplit" ID="ViewManager.prevSplit"></a> +<h4>ViewManager.prevSplit</h4> +<b>prevSplit</b>(<i></i>) +<p> + Public slot used to move to the previous split. +</p><a NAME="ViewManager.printCurrentEditor" ID="ViewManager.printCurrentEditor"></a> +<h4>ViewManager.printCurrentEditor</h4> +<b>printCurrentEditor</b>(<i></i>) +<p> + Public slot to print the contents of the current editor. +</p><a NAME="ViewManager.printEditor" ID="ViewManager.printEditor"></a> +<h4>ViewManager.printEditor</h4> +<b>printEditor</b>(<i>editor</i>) +<p> + Public slot to print an editor. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor to be printed +</dd> +</dl><a NAME="ViewManager.printPreviewCurrentEditor" ID="ViewManager.printPreviewCurrentEditor"></a> +<h4>ViewManager.printPreviewCurrentEditor</h4> +<b>printPreviewCurrentEditor</b>(<i></i>) +<p> + Public slot to show a print preview of the current editor. +</p><a NAME="ViewManager.projectClosed" ID="ViewManager.projectClosed"></a> +<h4>ViewManager.projectClosed</h4> +<b>projectClosed</b>(<i></i>) +<p> + Public slot to handle the projectClosed signal. +</p><a NAME="ViewManager.projectFileRenamed" ID="ViewManager.projectFileRenamed"></a> +<h4>ViewManager.projectFileRenamed</h4> +<b>projectFileRenamed</b>(<i>oldfn, newfn</i>) +<p> + Public slot to handle the projectFileRenamed signal. +</p><dl> +<dt><i>oldfn</i></dt> +<dd> +old filename of the file (string) +</dd><dt><i>newfn</i></dt> +<dd> +new filename of the file (string) +</dd> +</dl><a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a> +<h4>ViewManager.projectLexerAssociationsChanged</h4> +<b>projectLexerAssociationsChanged</b>(<i></i>) +<p> + Public slot to handle changes of the project lexer associations. +</p><a NAME="ViewManager.projectOpened" ID="ViewManager.projectOpened"></a> +<h4>ViewManager.projectOpened</h4> +<b>projectOpened</b>(<i></i>) +<p> + Public slot to handle the projectOpened signal. +</p><a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a> +<h4>ViewManager.removeSplit</h4> +<b>removeSplit</b>(<i></i>) +<p> + Public method used to remove the current split view. +</p><dl> +<dt>Returns:</dt> +<dd> +Flag indicating successful deletion +</dd> +</dl><a NAME="ViewManager.saveAllEditors" ID="ViewManager.saveAllEditors"></a> +<h4>ViewManager.saveAllEditors</h4> +<b>saveAllEditors</b>(<i></i>) +<p> + Public slot to save the contents of all editors. +</p><a NAME="ViewManager.saveAsCurrentEditor" ID="ViewManager.saveAsCurrentEditor"></a> +<h4>ViewManager.saveAsCurrentEditor</h4> +<b>saveAsCurrentEditor</b>(<i></i>) +<p> + Public slot to save the contents of the current editor to a new file. +</p><a NAME="ViewManager.saveAsEditorEd" ID="ViewManager.saveAsEditorEd"></a> +<h4>ViewManager.saveAsEditorEd</h4> +<b>saveAsEditorEd</b>(<i>ed</i>) +<p> + Public slot to save the contents of an editor to a new file. +</p><dl> +<dt><i>ed</i></dt> +<dd> +editor to be saved +</dd> +</dl><a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a> +<h4>ViewManager.saveCurrentEditor</h4> +<b>saveCurrentEditor</b>(<i></i>) +<p> + Public slot to save the contents of the current editor. +</p><a NAME="ViewManager.saveCurrentEditorToProject" ID="ViewManager.saveCurrentEditorToProject"></a> +<h4>ViewManager.saveCurrentEditorToProject</h4> +<b>saveCurrentEditorToProject</b>(<i></i>) +<p> + Public slot to save the contents of the current editor to the current project. +</p><a NAME="ViewManager.saveEditor" ID="ViewManager.saveEditor"></a> +<h4>ViewManager.saveEditor</h4> +<b>saveEditor</b>(<i>fn</i>) +<p> + Public method to save a named editor file. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of editor to be saved (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a> +<h4>ViewManager.saveEditorEd</h4> +<b>saveEditorEd</b>(<i>ed</i>) +<p> + Public slot to save the contents of an editor. +</p><dl> +<dt><i>ed</i></dt> +<dd> +editor to be saved +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> +</dl><a NAME="ViewManager.saveEditorToProjectEd" ID="ViewManager.saveEditorToProjectEd"></a> +<h4>ViewManager.saveEditorToProjectEd</h4> +<b>saveEditorToProjectEd</b>(<i>ed</i>) +<p> + Public slot to save the contents of an editor to the current project. +</p><dl> +<dt><i>ed</i></dt> +<dd> +editor to be saved +</dd> +</dl><a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a> +<h4>ViewManager.saveEditorsList</h4> +<b>saveEditorsList</b>(<i>editors</i>) +<p> + Public slot to save a list of editors. +</p><dl> +<dt><i>editors</i></dt> +<dd> +list of editors to be saved +</dd> +</dl><a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a> +<h4>ViewManager.setEditorName</h4> +<b>setEditorName</b>(<i>editor, newName</i>) +<p> + Public method to change the displayed name of the editor. +</p><dl> +<dt><i>editor</i></dt> +<dd> +editor window to be changed +</dd><dt><i>newName</i></dt> +<dd> +new name to be shown (string) +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.setFileLine" ID="ViewManager.setFileLine"></a> +<h4>ViewManager.setFileLine</h4> +<b>setFileLine</b>(<i>fn, line, error = False, syntaxError = False</i>) +<p> + Public method to update the user interface when the current program + or line changes. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of editor to update (string) +</dd><dt><i>line</i></dt> +<dd> +line number to highlight (int) +</dd><dt><i>error</i></dt> +<dd> +flag indicating an error highlight (boolean) +</dd><dt><i>syntaxError</i></dt> +<dd> +flag indicating a syntax error +</dd> +</dl><a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a> +<h4>ViewManager.setReferences</h4> +<b>setReferences</b>(<i>ui, dbs</i>) +<p> + Public method to set some references needed later on. +</p><dl> +<dt><i>ui</i></dt> +<dd> +reference to the main user interface +</dd><dt><i>dbs</i></dt> +<dd> +reference to the debug server object +</dd> +</dl><a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a> +<h4>ViewManager.setSbInfo</h4> +<b>setSbInfo</b>(<i>sbFile, sbLine, sbPos, sbWritable, sbEncoding, sbLanguage, sbEol</i>) +<p> + Public method to transfer statusbar info from the user interface to viewmanager. +</p><dl> +<dt><i>sbFile</i></dt> +<dd> +reference to the file part of the statusbar (E4SqueezeLabelPath) +</dd><dt><i>sbLine</i></dt> +<dd> +reference to the line number part of the statusbar (QLabel) +</dd><dt><i>sbPos</i></dt> +<dd> +reference to the character position part of the statusbar (QLabel) +</dd><dt><i>sbWritable</i></dt> +<dd> +reference to the writability indicator part of + the statusbar (QLabel) +</dd><dt><i>sbEncoding</i></dt> +<dd> +reference to the encoding indicator part of the + statusbar (QLabel) +</dd><dt><i>sbLanguage</i></dt> +<dd> +reference to the language indicator part of the + statusbar (QLabel) +</dd><dt><i>sbEol</i></dt> +<dd> +reference to the eol indicator part of the statusbar (QLabel) +</dd> +</dl><a NAME="ViewManager.setSplitOrientation" ID="ViewManager.setSplitOrientation"></a> +<h4>ViewManager.setSplitOrientation</h4> +<b>setSplitOrientation</b>(<i>orientation</i>) +<p> + Public method used to set the orientation of the split view. +</p><dl> +<dt><i>orientation</i></dt> +<dd> +orientation of the split + (Qt.Horizontal or Qt.Vertical) +</dd> +</dl><a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a> +<h4>ViewManager.showDebugSource</h4> +<b>showDebugSource</b>(<i>fn, line</i>) +<p> + Public method to open the given file and highlight the given line in it. +</p><dl> +<dt><i>fn</i></dt> +<dd> +filename of editor to update (string) +</dd><dt><i>line</i></dt> +<dd> +line number to highlight (int) +</dd> +</dl><a NAME="ViewManager.showWindowMenu" ID="ViewManager.showWindowMenu"></a> +<h4>ViewManager.showWindowMenu</h4> +<b>showWindowMenu</b>(<i>windowMenu</i>) +<p> + Public method to set up the viewmanager part of the Window menu. +</p><dl> +<dt><i>windowMenu</i></dt> +<dd> +reference to the window menu +</dd> +</dl><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.textForFind" ID="ViewManager.textForFind"></a> +<h4>ViewManager.textForFind</h4> +<b>textForFind</b>(<i>getCurrentWord = True</i>) +<p> + Public method to determine the selection or the current word for the next + find operation. +</p><dl> +<dt><i>getCurrentWord</i></dt> +<dd> +flag indicating to return the current word, if no selected + text was found (boolean) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +selection or current word (string) +</dd> +</dl><a NAME="ViewManager.tile" ID="ViewManager.tile"></a> +<h4>ViewManager.tile</h4> +<b>tile</b>(<i></i>) +<p> + Public method to tile the managed windows. +</p><dl> +<dt>Raises <b>RuntimeError</b>:</dt> +<dd> +Not implemented +</dd> +</dl><a NAME="ViewManager.unhighlight" ID="ViewManager.unhighlight"></a> +<h4>ViewManager.unhighlight</h4> +<b>unhighlight</b>(<i>current = False</i>) +<p> + Public method to switch off all highlights. +</p><dl> +<dt><i>current</i></dt> +<dd> +flag indicating only the current editor should be unhighlighted + (boolean) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file