Sun, 06 Sep 2020 12:33:50 +0200
Updated source docu.
--- a/eric6/APIs/Python3/eric6.api Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/APIs/Python3/eric6.api Sun Sep 06 12:33:50 2020 +0200 @@ -7535,6 +7535,21 @@ eric6.QScintilla.EditorMarkerMap.EditorMarkerMap._paintIt?5(painter) eric6.QScintilla.EditorMarkerMap.EditorMarkerMap.initColors?4() eric6.QScintilla.EditorMarkerMap.EditorMarkerMap?1(parent=None) +eric6.QScintilla.EditorOutline.EditorOutlineView.WidthIncrement?7 +eric6.QScintilla.EditorOutline.EditorOutlineView.isPopulated?4() +eric6.QScintilla.EditorOutline.EditorOutlineView.isSupportedLanguage?4(language) +eric6.QScintilla.EditorOutline.EditorOutlineView.mouseDoubleClickEvent?4(mouseEvent) +eric6.QScintilla.EditorOutline.EditorOutlineView.repopulate?4() +eric6.QScintilla.EditorOutline.EditorOutlineView.setActive?4(active) +eric6.QScintilla.EditorOutline.EditorOutlineView?1(editor, populate=True, parent=None) +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.SupportedLanguages?7 +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.editor?4() +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.fileName?4() +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.findItem?4(parent) +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.isPopulated?4() +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.itemIndexByLine?4(lineno) +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel.repopulate?4() +eric6.QScintilla.EditorOutlineModel.EditorOutlineModel?1(editor, populate=True) eric6.QScintilla.Exporters.ExporterBase.ExporterBase._getFileName?5(fileFilter) eric6.QScintilla.Exporters.ExporterBase.ExporterBase.exportSource?4() eric6.QScintilla.Exporters.ExporterBase.ExporterBase?1(editor, parent=None) @@ -8060,11 +8075,15 @@ eric6.QScintilla.MiniEditor.MiniEditor.activeWindow?4() eric6.QScintilla.MiniEditor.MiniEditor.clearSearchIndicators?4() eric6.QScintilla.MiniEditor.MiniEditor.closeEvent?4(event) +eric6.QScintilla.MiniEditor.MiniEditor.cursorLineChanged?7 +eric6.QScintilla.MiniEditor.MiniEditor.editorRenamed?7 eric6.QScintilla.MiniEditor.MiniEditor.editorSaved?7 eric6.QScintilla.MiniEditor.MiniEditor.getFileName?4() -eric6.QScintilla.MiniEditor.MiniEditor.getLanguage?4() +eric6.QScintilla.MiniEditor.MiniEditor.getLanguage?4(normalized=True, forPygments=False) eric6.QScintilla.MiniEditor.MiniEditor.getSRHistory?4(key) eric6.QScintilla.MiniEditor.MiniEditor.gotoLine?4(line, pos=1) +eric6.QScintilla.MiniEditor.MiniEditor.languageChanged?7 +eric6.QScintilla.MiniEditor.MiniEditor.refreshed?7 eric6.QScintilla.MiniEditor.MiniEditor.setLanguage?4(filename, initTextDisplay=True, pyname="") eric6.QScintilla.MiniEditor.MiniEditor.setSearchIndicator?4(startPos, indicLength) eric6.QScintilla.MiniEditor.MiniEditor.setText?4(txt, filetype=None) @@ -8666,7 +8685,8 @@ eric6.UI.BrowserModel.BrowserClassItem.name?4() eric6.UI.BrowserModel.BrowserClassItem?1(parent, cl, filename) eric6.UI.BrowserModel.BrowserCodingItem.lessThan?4(other, column, order) -eric6.UI.BrowserModel.BrowserCodingItem?1(parent, text) +eric6.UI.BrowserModel.BrowserCodingItem.lineno?4() +eric6.UI.BrowserModel.BrowserCodingItem?1(parent, text, linenumber) eric6.UI.BrowserModel.BrowserDirectoryItem.dirName?4() eric6.UI.BrowserModel.BrowserDirectoryItem.lessThan?4(other, column, order) eric6.UI.BrowserModel.BrowserDirectoryItem.name?4() @@ -9160,6 +9180,7 @@ eric6.Utilities.ClassBrowsers.idlclbr._modules?8 eric6.Utilities.ClassBrowsers.idlclbr._normalize?8 eric6.Utilities.ClassBrowsers.idlclbr.readmodule_ex?4(module, path=None) +eric6.Utilities.ClassBrowsers.idlclbr.scan?4(src, file, module) eric6.Utilities.ClassBrowsers.jsclbr.Attribute?1(module, name, file, lineno) eric6.Utilities.ClassBrowsers.jsclbr.Function?1(module, name, file, lineno, signature='', separator=', ') eric6.Utilities.ClassBrowsers.jsclbr.SUPPORTED_TYPES?7 @@ -9174,6 +9195,7 @@ eric6.Utilities.ClassBrowsers.jsclbr.Visitor?1(src, module, filename) eric6.Utilities.ClassBrowsers.jsclbr._modules?8 eric6.Utilities.ClassBrowsers.jsclbr.readmodule_ex?4(module, path=None) +eric6.Utilities.ClassBrowsers.jsclbr.scan?4(src, file, module) eric6.Utilities.ClassBrowsers.protoclbr.Enum?1(module, name, file, lineno) eric6.Utilities.ClassBrowsers.protoclbr.Message?1(module, name, file, lineno) eric6.Utilities.ClassBrowsers.protoclbr.SUPPORTED_TYPES?7 @@ -9185,6 +9207,7 @@ eric6.Utilities.ClassBrowsers.protoclbr._modules?8 eric6.Utilities.ClassBrowsers.protoclbr._normalize?8 eric6.Utilities.ClassBrowsers.protoclbr.readmodule_ex?4(module, path=None) +eric6.Utilities.ClassBrowsers.protoclbr.scan?4(src, file, module) eric6.Utilities.ClassBrowsers.pyclbr.Attribute?1(module, name, file, lineno) eric6.Utilities.ClassBrowsers.pyclbr.Class?1(module, name, superClasses, file, lineno) eric6.Utilities.ClassBrowsers.pyclbr.Function?1(module, name, file, lineno, signature='', separator=', ', modifierType=ClbrBaseClasses.Function.General, annotation="") @@ -9203,6 +9226,7 @@ eric6.Utilities.ClassBrowsers.pyclbr._indent?5(ws) eric6.Utilities.ClassBrowsers.pyclbr._modules?8 eric6.Utilities.ClassBrowsers.pyclbr.readmodule_ex?4(module, path=None, inpackage=False, isPyFile=False) +eric6.Utilities.ClassBrowsers.pyclbr.scan?4(src, file, module) eric6.Utilities.ClassBrowsers.rbclbr.Attribute?1(module, name, file, lineno) eric6.Utilities.ClassBrowsers.rbclbr.Class?1(module, name, superClasses, file, lineno) eric6.Utilities.ClassBrowsers.rbclbr.Function?1(module, name, file, lineno, signature='', separator=', ') @@ -9213,6 +9237,7 @@ eric6.Utilities.ClassBrowsers.rbclbr._getnext?8 eric6.Utilities.ClassBrowsers.rbclbr._modules?8 eric6.Utilities.ClassBrowsers.rbclbr.readmodule_ex?4(module, path=None) +eric6.Utilities.ClassBrowsers.rbclbr.scan?4(src, file, module) eric6.Utilities.ClassBrowsers.readmodule?4(module, path=None, isPyFile=False) eric6.Utilities.CodingError?1(coding) eric6.Utilities.FtpUtilities.FtpDirLineParser.MonthnamesNumbers?7
--- a/eric6/APIs/Python3/eric6.bas Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/APIs/Python3/eric6.bas Sun Sep 06 12:33:50 2020 +0200 @@ -256,6 +256,8 @@ EditorLanguageTabIndentOverrideDialog QDialog Ui_EditorLanguageTabIndentOverrideDialog EditorMarkerMap E5MapWidget EditorMouseClickHandlerPage ConfigurationPageBase Ui_EditorMouseClickHandlerPage +EditorOutlineModel BrowserModel +EditorOutlineView QTreeView EditorPropertiesPage ConfigurationPageBase Ui_EditorPropertiesPage EditorSearchPage ConfigurationPageBase Ui_EditorSearchPage EditorSpellCheckingPage ConfigurationPageBase Ui_EditorSpellCheckingPage
--- a/eric6/Documentation/Help/source.qhp Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Help/source.qhp Sun Sep 06 12:33:50 2020 +0200 @@ -911,6 +911,8 @@ <section title="eric6.QScintilla.EditorAssembly" ref="eric6.QScintilla.EditorAssembly.html" /> <section title="eric6.QScintilla.EditorButtonsWidget" ref="eric6.QScintilla.EditorButtonsWidget.html" /> <section title="eric6.QScintilla.EditorMarkerMap" ref="eric6.QScintilla.EditorMarkerMap.html" /> + <section title="eric6.QScintilla.EditorOutline" ref="eric6.QScintilla.EditorOutline.html" /> + <section title="eric6.QScintilla.EditorOutlineModel" ref="eric6.QScintilla.EditorOutlineModel.html" /> <section title="eric6.QScintilla.GotoDialog" ref="eric6.QScintilla.GotoDialog.html" /> <section title="eric6.QScintilla.KeySequenceTranslator" ref="eric6.QScintilla.KeySequenceTranslator.html" /> <section title="eric6.QScintilla.MiniEditor" ref="eric6.QScintilla.MiniEditor.html" /> @@ -2149,6 +2151,7 @@ <keyword name="BrowserCodingItem" id="BrowserCodingItem" ref="eric6.UI.BrowserModel.html#BrowserCodingItem" /> <keyword name="BrowserCodingItem (Constructor)" id="BrowserCodingItem (Constructor)" ref="eric6.UI.BrowserModel.html#BrowserCodingItem.__init__" /> <keyword name="BrowserCodingItem.lessThan" id="BrowserCodingItem.lessThan" ref="eric6.UI.BrowserModel.html#BrowserCodingItem.lessThan" /> + <keyword name="BrowserCodingItem.lineno" id="BrowserCodingItem.lineno" ref="eric6.UI.BrowserModel.html#BrowserCodingItem.lineno" /> <keyword name="BrowserDirectoryItem" id="BrowserDirectoryItem" ref="eric6.UI.BrowserModel.html#BrowserDirectoryItem" /> <keyword name="BrowserDirectoryItem (Constructor)" id="BrowserDirectoryItem (Constructor)" ref="eric6.UI.BrowserModel.html#BrowserDirectoryItem.__init__" /> <keyword name="BrowserDirectoryItem.dirName" id="BrowserDirectoryItem.dirName" ref="eric6.UI.BrowserModel.html#BrowserDirectoryItem.dirName" /> @@ -5084,10 +5087,14 @@ <keyword name="EditorAssembly" id="EditorAssembly" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly" /> <keyword name="EditorAssembly (Constructor)" id="EditorAssembly (Constructor)" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__init__" /> <keyword name="EditorAssembly (Module)" id="EditorAssembly (Module)" ref="eric6.QScintilla.EditorAssembly.html" /> + <keyword name="EditorAssembly.__activateCombos" id="EditorAssembly.__activateCombos" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__activateCombos" /> + <keyword name="EditorAssembly.__activateOutline" id="EditorAssembly.__activateOutline" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__activateOutline" /> + <keyword name="EditorAssembly.__editorChanged" id="EditorAssembly.__editorChanged" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__editorChanged" /> <keyword name="EditorAssembly.__editorCursorLineChanged" id="EditorAssembly.__editorCursorLineChanged" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__editorCursorLineChanged" /> <keyword name="EditorAssembly.__globalsActivated" id="EditorAssembly.__globalsActivated" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__globalsActivated" /> <keyword name="EditorAssembly.__membersActivated" id="EditorAssembly.__membersActivated" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__membersActivated" /> <keyword name="EditorAssembly.__parseEditor" id="EditorAssembly.__parseEditor" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__parseEditor" /> + <keyword name="EditorAssembly.__preferencesChanged" id="EditorAssembly.__preferencesChanged" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__preferencesChanged" /> <keyword name="EditorAssembly.__resetParseTimer" id="EditorAssembly.__resetParseTimer" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.__resetParseTimer" /> <keyword name="EditorAssembly.getEditor" id="EditorAssembly.getEditor" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.getEditor" /> <keyword name="EditorAssembly.shutdownTimer" id="EditorAssembly.shutdownTimer" ref="eric6.QScintilla.EditorAssembly.html#EditorAssembly.shutdownTimer" /> @@ -5228,6 +5235,40 @@ <keyword name="EditorMouseClickHandlerPage (Constructor)" id="EditorMouseClickHandlerPage (Constructor)" ref="eric6.Preferences.ConfigurationPages.EditorMouseClickHandlerPage.html#EditorMouseClickHandlerPage.__init__" /> <keyword name="EditorMouseClickHandlerPage (Module)" id="EditorMouseClickHandlerPage (Module)" ref="eric6.Preferences.ConfigurationPages.EditorMouseClickHandlerPage.html" /> <keyword name="EditorMouseClickHandlerPage.save" id="EditorMouseClickHandlerPage.save" ref="eric6.Preferences.ConfigurationPages.EditorMouseClickHandlerPage.html#EditorMouseClickHandlerPage.save" /> + <keyword name="EditorOutline (Module)" id="EditorOutline (Module)" ref="eric6.QScintilla.EditorOutline.html" /> + <keyword name="EditorOutlineModel" id="EditorOutlineModel" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel" /> + <keyword name="EditorOutlineModel (Constructor)" id="EditorOutlineModel (Constructor)" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.__init__" /> + <keyword name="EditorOutlineModel (Module)" id="EditorOutlineModel (Module)" ref="eric6.QScintilla.EditorOutlineModel.html" /> + <keyword name="EditorOutlineModel.__populateModel" id="EditorOutlineModel.__populateModel" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.__populateModel" /> + <keyword name="EditorOutlineModel.editor" id="EditorOutlineModel.editor" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.editor" /> + <keyword name="EditorOutlineModel.fileName" id="EditorOutlineModel.fileName" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.fileName" /> + <keyword name="EditorOutlineModel.findItem" id="EditorOutlineModel.findItem" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.findItem" /> + <keyword name="EditorOutlineModel.isPopulated" id="EditorOutlineModel.isPopulated" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.isPopulated" /> + <keyword name="EditorOutlineModel.itemIndexByLine" id="EditorOutlineModel.itemIndexByLine" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.itemIndexByLine" /> + <keyword name="EditorOutlineModel.repopulate" id="EditorOutlineModel.repopulate" ref="eric6.QScintilla.EditorOutlineModel.html#EditorOutlineModel.repopulate" /> + <keyword name="EditorOutlineView" id="EditorOutlineView" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView" /> + <keyword name="EditorOutlineView (Constructor)" id="EditorOutlineView (Constructor)" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__init__" /> + <keyword name="EditorOutlineView.__completeRepopulate" id="EditorOutlineView.__completeRepopulate" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__completeRepopulate" /> + <keyword name="EditorOutlineView.__contextMenuRequested" id="EditorOutlineView.__contextMenuRequested" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__contextMenuRequested" /> + <keyword name="EditorOutlineView.__copyToClipboard" id="EditorOutlineView.__copyToClipboard" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__copyToClipboard" /> + <keyword name="EditorOutlineView.__createPopupMenus" id="EditorOutlineView.__createPopupMenus" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__createPopupMenus" /> + <keyword name="EditorOutlineView.__currentItem" id="EditorOutlineView.__currentItem" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__currentItem" /> + <keyword name="EditorOutlineView.__decWidth" id="EditorOutlineView.__decWidth" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__decWidth" /> + <keyword name="EditorOutlineView.__editorCursorLineChanged" id="EditorOutlineView.__editorCursorLineChanged" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__editorCursorLineChanged" /> + <keyword name="EditorOutlineView.__editorLanguageChanged" id="EditorOutlineView.__editorLanguageChanged" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__editorLanguageChanged" /> + <keyword name="EditorOutlineView.__editorRenamed" id="EditorOutlineView.__editorRenamed" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__editorRenamed" /> + <keyword name="EditorOutlineView.__goto" id="EditorOutlineView.__goto" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__goto" /> + <keyword name="EditorOutlineView.__gotoAttribute" id="EditorOutlineView.__gotoAttribute" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__gotoAttribute" /> + <keyword name="EditorOutlineView.__gotoItem" id="EditorOutlineView.__gotoItem" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__gotoItem" /> + <keyword name="EditorOutlineView.__incWidth" id="EditorOutlineView.__incWidth" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__incWidth" /> + <keyword name="EditorOutlineView.__prepareRepopulate" id="EditorOutlineView.__prepareRepopulate" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__prepareRepopulate" /> + <keyword name="EditorOutlineView.__resizeColumns" id="EditorOutlineView.__resizeColumns" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__resizeColumns" /> + <keyword name="EditorOutlineView.__showGotoMenu" id="EditorOutlineView.__showGotoMenu" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.__showGotoMenu" /> + <keyword name="EditorOutlineView.isPopulated" id="EditorOutlineView.isPopulated" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.isPopulated" /> + <keyword name="EditorOutlineView.isSupportedLanguage" id="EditorOutlineView.isSupportedLanguage" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.isSupportedLanguage" /> + <keyword name="EditorOutlineView.mouseDoubleClickEvent" id="EditorOutlineView.mouseDoubleClickEvent" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.mouseDoubleClickEvent" /> + <keyword name="EditorOutlineView.repopulate" id="EditorOutlineView.repopulate" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.repopulate" /> + <keyword name="EditorOutlineView.setActive" id="EditorOutlineView.setActive" ref="eric6.QScintilla.EditorOutline.html#EditorOutlineView.setActive" /> <keyword name="EditorPropertiesPage" id="EditorPropertiesPage" ref="eric6.Preferences.ConfigurationPages.EditorPropertiesPage.html#EditorPropertiesPage" /> <keyword name="EditorPropertiesPage (Constructor)" id="EditorPropertiesPage (Constructor)" ref="eric6.Preferences.ConfigurationPages.EditorPropertiesPage.html#EditorPropertiesPage.__init__" /> <keyword name="EditorPropertiesPage (Module)" id="EditorPropertiesPage (Module)" ref="eric6.Preferences.ConfigurationPages.EditorPropertiesPage.html" /> @@ -9830,6 +9871,7 @@ <keyword name="MiniEditor.__cursorPositionChanged" id="MiniEditor.__cursorPositionChanged" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__cursorPositionChanged" /> <keyword name="MiniEditor.__deselectAll" id="MiniEditor.__deselectAll" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__deselectAll" /> <keyword name="MiniEditor.__documentWasModified" id="MiniEditor.__documentWasModified" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__documentWasModified" /> + <keyword name="MiniEditor.__editorChanged" id="MiniEditor.__editorChanged" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__editorChanged" /> <keyword name="MiniEditor.__getCurrentWord" id="MiniEditor.__getCurrentWord" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__getCurrentWord" /> <keyword name="MiniEditor.__getEditorConfig" id="MiniEditor.__getEditorConfig" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__getEditorConfig" /> <keyword name="MiniEditor.__getOverrideValue" id="MiniEditor.__getOverrideValue" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__getOverrideValue" /> @@ -9851,6 +9893,7 @@ <keyword name="MiniEditor.__readSettings" id="MiniEditor.__readSettings" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__readSettings" /> <keyword name="MiniEditor.__readShortcut" id="MiniEditor.__readShortcut" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__readShortcut" /> <keyword name="MiniEditor.__redo" id="MiniEditor.__redo" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__redo" /> + <keyword name="MiniEditor.__resetChangeTimer" id="MiniEditor.__resetChangeTimer" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__resetChangeTimer" /> <keyword name="MiniEditor.__resetLanguage" id="MiniEditor.__resetLanguage" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__resetLanguage" /> <keyword name="MiniEditor.__resizeLinenoMargin" id="MiniEditor.__resizeLinenoMargin" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__resizeLinenoMargin" /> <keyword name="MiniEditor.__save" id="MiniEditor.__save" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.__save" /> @@ -17723,6 +17766,11 @@ <keyword name="saveShortcuts" id="saveShortcuts" ref="eric6.Preferences.Shortcuts.html#saveShortcuts" /> <keyword name="saveToolGroups" id="saveToolGroups" ref="eric6.Preferences.__init__.html#saveToolGroups" /> <keyword name="sbsdiff" id="sbsdiff" ref="eric6.UI.CompareDialog.html#sbsdiff" /> + <keyword name="scan" id="scan" ref="eric6.Utilities.ClassBrowsers.idlclbr.html#scan" /> + <keyword name="scan" id="scan" ref="eric6.Utilities.ClassBrowsers.jsclbr.html#scan" /> + <keyword name="scan" id="scan" ref="eric6.Utilities.ClassBrowsers.protoclbr.html#scan" /> + <keyword name="scan" id="scan" ref="eric6.Utilities.ClassBrowsers.pyclbr.html#scan" /> + <keyword name="scan" id="scan" ref="eric6.Utilities.ClassBrowsers.rbclbr.html#scan" /> <keyword name="schemeFromProxyType" id="schemeFromProxyType" ref="eric6.E5Network.E5NetworkProxyFactory.html#schemeFromProxyType" /> <keyword name="scrollToAnchor" id="scrollToAnchor" ref="eric6.WebBrowser.Tools.Scripts.html#scrollToAnchor" /> <keyword name="securityOk" id="securityOk" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html#securityOk" /> @@ -18583,6 +18631,8 @@ <file>eric6.QScintilla.EditorAssembly.html</file> <file>eric6.QScintilla.EditorButtonsWidget.html</file> <file>eric6.QScintilla.EditorMarkerMap.html</file> + <file>eric6.QScintilla.EditorOutline.html</file> + <file>eric6.QScintilla.EditorOutlineModel.html</file> <file>eric6.QScintilla.Exporters.ExporterBase.html</file> <file>eric6.QScintilla.Exporters.ExporterHTML.html</file> <file>eric6.QScintilla.Exporters.ExporterODT.html</file>
--- a/eric6/Documentation/Source/eric6.QScintilla.EditorAssembly.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.QScintilla.EditorAssembly.html Sun Sep 06 12:33:50 2020 +0200 @@ -75,6 +75,18 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#EditorAssembly.__activateCombos">__activateCombos</a></td> +<td>Private slot to activate the navigation combo boxes.</td> +</tr> +<tr> +<td><a href="#EditorAssembly.__activateOutline">__activateOutline</a></td> +<td>Private slot to activate the source outline view.</td> +</tr> +<tr> +<td><a href="#EditorAssembly.__editorChanged">__editorChanged</a></td> +<td>Private slot handling changes of the editor language or file name.</td> +</tr> +<tr> <td><a href="#EditorAssembly.__editorCursorLineChanged">__editorCursorLineChanged</a></td> <td>Private slot handling a line change of the cursor of the editor.</td> </tr> @@ -91,6 +103,10 @@ <td>Private method to parse the editor source and repopulate the globals combo.</td> </tr> <tr> +<td><a href="#EditorAssembly.__preferencesChanged">__preferencesChanged</a></td> +<td>Private slot handling a change of preferences.</td> +</tr> +<tr> <td><a href="#EditorAssembly.__resetParseTimer">__resetParseTimer</a></td> <td>Private slot to reset the parse timer.</td> </tr> @@ -118,33 +134,67 @@ </p> <dl> -<dt><i>dbs</i></dt> +<dt><i>dbs</i> (DebugServer)</dt> <dd> reference to the debug server object </dd> -<dt><i>fn</i></dt> +<dt><i>fn</i> (str)</dt> <dd> -name of the file to be opened (string). If it is None, - a new (empty) editor is opened +name of the file to be opened. If it is None, + a new (empty) editor is opened. </dd> -<dt><i>vm</i></dt> +<dt><i>vm</i> (ViewManager.ViewManager)</dt> <dd> reference to the view manager object - (ViewManager.ViewManager) </dd> -<dt><i>filetype</i></dt> +<dt><i>filetype</i> (str)</dt> <dd> -type of the source file (string) +type of the source file </dd> -<dt><i>editor</i></dt> +<dt><i>editor</i> (Editor)</dt> <dd> reference to an Editor object, if this is a cloned view </dd> -<dt><i>tv</i></dt> +<dt><i>tv</i> (TaskViewer)</dt> <dd> reference to the task viewer object </dd> </dl> +<a NAME="EditorAssembly.__activateCombos" ID="EditorAssembly.__activateCombos"></a> +<h4>EditorAssembly.__activateCombos</h4> +<b>__activateCombos</b>(<i>activate</i>) + +<p> + Private slot to activate the navigation combo boxes. +</p> +<dl> + +<dt><i>activate</i> (bool)</dt> +<dd> +flag indicating to activate the combo boxes +</dd> +</dl> +<a NAME="EditorAssembly.__activateOutline" ID="EditorAssembly.__activateOutline"></a> +<h4>EditorAssembly.__activateOutline</h4> +<b>__activateOutline</b>(<i>activate</i>) + +<p> + Private slot to activate the source outline view. +</p> +<dl> + +<dt><i>activate</i> (bool)</dt> +<dd> +flag indicating to activate the source outline view +</dd> +</dl> +<a NAME="EditorAssembly.__editorChanged" ID="EditorAssembly.__editorChanged"></a> +<h4>EditorAssembly.__editorChanged</h4> +<b>__editorChanged</b>(<i></i>) + +<p> + Private slot handling changes of the editor language or file name. +</p> <a NAME="EditorAssembly.__editorCursorLineChanged" ID="EditorAssembly.__editorCursorLineChanged"></a> <h4>EditorAssembly.__editorCursorLineChanged</h4> <b>__editorCursorLineChanged</b>(<i>lineno</i>) @@ -154,9 +204,9 @@ </p> <dl> -<dt><i>lineno</i></dt> +<dt><i>lineno</i> (int)</dt> <dd> -line number of the cursor (integer) +line number of the cursor </dd> </dl> <a NAME="EditorAssembly.__globalsActivated" ID="EditorAssembly.__globalsActivated"></a> @@ -169,14 +219,13 @@ </p> <dl> -<dt><i>index</i></dt> +<dt><i>index</i> (int)</dt> <dd> -index of the selected entry (integer) +index of the selected entry </dd> -<dt><i>moveCursor=</i></dt> +<dt><i>moveCursor</i> (bool)</dt> <dd> flag indicating to move the editor cursor - (boolean) </dd> </dl> <a NAME="EditorAssembly.__membersActivated" ID="EditorAssembly.__membersActivated"></a> @@ -188,14 +237,13 @@ </p> <dl> -<dt><i>index</i></dt> +<dt><i>index</i> (int)</dt> <dd> -index of the selected entry (integer) +index of the selected entry </dd> -<dt><i>moveCursor=</i></dt> +<dt><i>moveCursor</i> (bool)</dt> <dd> flag indicating to move the editor cursor - (boolean) </dd> </dl> <a NAME="EditorAssembly.__parseEditor" ID="EditorAssembly.__parseEditor"></a> @@ -206,6 +254,13 @@ Private method to parse the editor source and repopulate the globals combo. </p> +<a NAME="EditorAssembly.__preferencesChanged" ID="EditorAssembly.__preferencesChanged"></a> +<h4>EditorAssembly.__preferencesChanged</h4> +<b>__preferencesChanged</b>(<i></i>) + +<p> + Private slot handling a change of preferences. +</p> <a NAME="EditorAssembly.__resetParseTimer" ID="EditorAssembly.__resetParseTimer"></a> <h4>EditorAssembly.__resetParseTimer</h4> <b>__resetParseTimer</b>(<i></i>) @@ -223,7 +278,13 @@ <dl> <dt>Returns:</dt> <dd> -reference to the editor widget (Editor) +reference to the editor widget +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +Editor </dd> </dl> <a NAME="EditorAssembly.shutdownTimer" ID="EditorAssembly.shutdownTimer"></a>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.QScintilla.EditorOutline.html Sun Sep 06 12:33:50 2020 +0200 @@ -0,0 +1,428 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.QScintilla.EditorOutline</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.QScintilla.EditorOutline</h1> + +<p> +Module implementing an outline widget for source code navigation of the editor. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EditorOutlineView">EditorOutlineView</a></td> +<td>Class implementing an outline widget for source code navigation of the editor.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EditorOutlineView" ID="EditorOutlineView"></a> +<h2>EditorOutlineView</h2> + +<p> + Class implementing an outline widget for source code navigation of the + editor. +</p> +<h3>Derived from</h3> +QTreeView +<h3>Class Attributes</h3> + +<table> +<tr><td>WidthIncrement</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#EditorOutlineView.__init__">EditorOutlineView</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__completeRepopulate">__completeRepopulate</a></td> +<td>Private slot to complete the repopulate of the outline view.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__contextMenuRequested">__contextMenuRequested</a></td> +<td>Private slot to show the context menu.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__copyToClipboard">__copyToClipboard</a></td> +<td>Private slot to copy the file name of the editor to the clipboard.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__createPopupMenus">__createPopupMenus</a></td> +<td>Private method to generate the various popup menus.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__currentItem">__currentItem</a></td> +<td>Private method to get a reference to the current item.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__decWidth">__decWidth</a></td> +<td>Private method to decrement the width of the outline.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__editorCursorLineChanged">__editorCursorLineChanged</a></td> +<td>Private method to highlight a node given its line number.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__editorLanguageChanged">__editorLanguageChanged</a></td> +<td>Private slot handling a change of the associated editors source code language.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__editorRenamed">__editorRenamed</a></td> +<td>Private slot handling a renaming of the associated editor.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__goto">__goto</a></td> +<td>Private slot to move the editor cursor to the line of the context item.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__gotoAttribute">__gotoAttribute</a></td> +<td>Private slot to handle the selection of the goto menu.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__gotoItem">__gotoItem</a></td> +<td>Private slot to set the editor cursor.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__incWidth">__incWidth</a></td> +<td>Private method to increment the width of the outline.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__prepareRepopulate">__prepareRepopulate</a></td> +<td>Private slot to prepare to repopulate the outline view.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__resizeColumns">__resizeColumns</a></td> +<td>Private slot to resize the view when items get expanded or collapsed.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.__showGotoMenu">__showGotoMenu</a></td> +<td>Private slot to prepare the goto submenu of the attribute menu.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.isPopulated">isPopulated</a></td> +<td>Public method to check, if the model is populated.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.isSupportedLanguage">isSupportedLanguage</a></td> +<td>Public method to check, if outlining a given language is supported.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> +<td>Protected method of QAbstractItemView.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.repopulate">repopulate</a></td> +<td>Public slot to repopulate the model.</td> +</tr> +<tr> +<td><a href="#EditorOutlineView.setActive">setActive</a></td> +<td>Public method to activate or deactivate the outline view.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EditorOutlineView.__init__" ID="EditorOutlineView.__init__"></a> +<h4>EditorOutlineView (Constructor)</h4> +<b>EditorOutlineView</b>(<i>editor, populate=True, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor widget +</dd> +<dt><i>populate</i> (bool)</dt> +<dd> +flag indicating to populate the outline +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="EditorOutlineView.__completeRepopulate" ID="EditorOutlineView.__completeRepopulate"></a> +<h4>EditorOutlineView.__completeRepopulate</h4> +<b>__completeRepopulate</b>(<i></i>) + +<p> + Private slot to complete the repopulate of the outline view. +</p> +<a NAME="EditorOutlineView.__contextMenuRequested" ID="EditorOutlineView.__contextMenuRequested"></a> +<h4>EditorOutlineView.__contextMenuRequested</h4> +<b>__contextMenuRequested</b>(<i>coord</i>) + +<p> + Private slot to show the context menu. +</p> +<dl> + +<dt><i>coord</i> (QPoint)</dt> +<dd> +position of the mouse pointer +</dd> +</dl> +<a NAME="EditorOutlineView.__copyToClipboard" ID="EditorOutlineView.__copyToClipboard"></a> +<h4>EditorOutlineView.__copyToClipboard</h4> +<b>__copyToClipboard</b>(<i></i>) + +<p> + Private slot to copy the file name of the editor to the clipboard. +</p> +<a NAME="EditorOutlineView.__createPopupMenus" ID="EditorOutlineView.__createPopupMenus"></a> +<h4>EditorOutlineView.__createPopupMenus</h4> +<b>__createPopupMenus</b>(<i></i>) + +<p> + Private method to generate the various popup menus. +</p> +<a NAME="EditorOutlineView.__currentItem" ID="EditorOutlineView.__currentItem"></a> +<h4>EditorOutlineView.__currentItem</h4> +<b>__currentItem</b>(<i></i>) + +<p> + Private method to get a reference to the current item. +</p> +<dl> +<dt>Returns:</dt> +<dd> +reference to the current item +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +BrowserItem +</dd> +</dl> +<a NAME="EditorOutlineView.__decWidth" ID="EditorOutlineView.__decWidth"></a> +<h4>EditorOutlineView.__decWidth</h4> +<b>__decWidth</b>(<i></i>) + +<p> + Private method to decrement the width of the outline. +</p> +<a NAME="EditorOutlineView.__editorCursorLineChanged" ID="EditorOutlineView.__editorCursorLineChanged"></a> +<h4>EditorOutlineView.__editorCursorLineChanged</h4> +<b>__editorCursorLineChanged</b>(<i>lineno</i>) + +<p> + Private method to highlight a node given its line number. +</p> +<dl> + +<dt><i>lineno</i> (int)</dt> +<dd> +zero based line number of the item +</dd> +</dl> +<a NAME="EditorOutlineView.__editorLanguageChanged" ID="EditorOutlineView.__editorLanguageChanged"></a> +<h4>EditorOutlineView.__editorLanguageChanged</h4> +<b>__editorLanguageChanged</b>(<i></i>) + +<p> + Private slot handling a change of the associated editors source code + language. +</p> +<a NAME="EditorOutlineView.__editorRenamed" ID="EditorOutlineView.__editorRenamed"></a> +<h4>EditorOutlineView.__editorRenamed</h4> +<b>__editorRenamed</b>(<i></i>) + +<p> + Private slot handling a renaming of the associated editor. +</p> +<a NAME="EditorOutlineView.__goto" ID="EditorOutlineView.__goto"></a> +<h4>EditorOutlineView.__goto</h4> +<b>__goto</b>(<i></i>) + +<p> + Private slot to move the editor cursor to the line of the context item. +</p> +<a NAME="EditorOutlineView.__gotoAttribute" ID="EditorOutlineView.__gotoAttribute"></a> +<h4>EditorOutlineView.__gotoAttribute</h4> +<b>__gotoAttribute</b>(<i>act</i>) + +<p> + Private slot to handle the selection of the goto menu. +</p> +<dl> + +<dt><i>act</i></dt> +<dd> +reference to the action (E5Action) +</dd> +</dl> +<a NAME="EditorOutlineView.__gotoItem" ID="EditorOutlineView.__gotoItem"></a> +<h4>EditorOutlineView.__gotoItem</h4> +<b>__gotoItem</b>(<i>index</i>) + +<p> + Private slot to set the editor cursor. +</p> +<dl> + +<dt><i>index</i> (QModelIndex)</dt> +<dd> +index of the item to set the cursor for +</dd> +</dl> +<a NAME="EditorOutlineView.__incWidth" ID="EditorOutlineView.__incWidth"></a> +<h4>EditorOutlineView.__incWidth</h4> +<b>__incWidth</b>(<i></i>) + +<p> + Private method to increment the width of the outline. +</p> +<a NAME="EditorOutlineView.__prepareRepopulate" ID="EditorOutlineView.__prepareRepopulate"></a> +<h4>EditorOutlineView.__prepareRepopulate</h4> +<b>__prepareRepopulate</b>(<i></i>) + +<p> + Private slot to prepare to repopulate the outline view. +</p> +<a NAME="EditorOutlineView.__resizeColumns" ID="EditorOutlineView.__resizeColumns"></a> +<h4>EditorOutlineView.__resizeColumns</h4> +<b>__resizeColumns</b>(<i></i>) + +<p> + Private slot to resize the view when items get expanded or collapsed. +</p> +<a NAME="EditorOutlineView.__showGotoMenu" ID="EditorOutlineView.__showGotoMenu"></a> +<h4>EditorOutlineView.__showGotoMenu</h4> +<b>__showGotoMenu</b>(<i></i>) + +<p> + Private slot to prepare the goto submenu of the attribute menu. +</p> +<a NAME="EditorOutlineView.isPopulated" ID="EditorOutlineView.isPopulated"></a> +<h4>EditorOutlineView.isPopulated</h4> +<b>isPopulated</b>(<i></i>) + +<p> + Public method to check, if the model is populated. +</p> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating a populated model +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="EditorOutlineView.isSupportedLanguage" ID="EditorOutlineView.isSupportedLanguage"></a> +<h4>EditorOutlineView.isSupportedLanguage</h4> +<b>isSupportedLanguage</b>(<i>language</i>) + +<p> + Public method to check, if outlining a given language is supported. +</p> +<dl> + +<dt><i>language</i> (str)</dt> +<dd> +source language to be checked +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating support +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="EditorOutlineView.mouseDoubleClickEvent" ID="EditorOutlineView.mouseDoubleClickEvent"></a> +<h4>EditorOutlineView.mouseDoubleClickEvent</h4> +<b>mouseDoubleClickEvent</b>(<i>mouseEvent</i>) + +<p> + Protected method of QAbstractItemView. +</p> +<p> + Reimplemented to disable expanding/collapsing of items when + double-clicking. Instead the double-clicked entry is opened. +</p> +<dl> + +<dt><i>mouseEvent</i></dt> +<dd> +the mouse event (QMouseEvent) +</dd> +</dl> +<a NAME="EditorOutlineView.repopulate" ID="EditorOutlineView.repopulate"></a> +<h4>EditorOutlineView.repopulate</h4> +<b>repopulate</b>(<i></i>) + +<p> + Public slot to repopulate the model. +</p> +<a NAME="EditorOutlineView.setActive" ID="EditorOutlineView.setActive"></a> +<h4>EditorOutlineView.setActive</h4> +<b>setActive</b>(<i>active</i>) + +<p> + Public method to activate or deactivate the outline view. +</p> +<dl> + +<dt><i>active</i> (bool)</dt> +<dd> +flag indicating the requested action +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.QScintilla.EditorOutlineModel.html Sun Sep 06 12:33:50 2020 +0200 @@ -0,0 +1,265 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.QScintilla.EditorOutlineModel</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.QScintilla.EditorOutlineModel</h1> + +<p> +Module implementing the editor outline model. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EditorOutlineModel">EditorOutlineModel</a></td> +<td>Class implementing the editor outline model.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EditorOutlineModel" ID="EditorOutlineModel"></a> +<h2>EditorOutlineModel</h2> + +<p> + Class implementing the editor outline model. +</p> +<h3>Derived from</h3> +BrowserModel +<h3>Class Attributes</h3> + +<table> +<tr><td>SupportedLanguages</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#EditorOutlineModel.__init__">EditorOutlineModel</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.__populateModel">__populateModel</a></td> +<td>Private slot to populate the model.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.editor">editor</a></td> +<td>Public method to retrieve a reference to the editor.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.fileName">fileName</a></td> +<td>Public method to retrieve the file name of the editor.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.findItem">findItem</a></td> +<td>Function to iteratively search for an item containing the given line.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.isPopulated">isPopulated</a></td> +<td>Public method to check, if the model is populated.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.itemIndexByLine">itemIndexByLine</a></td> +<td>Public method to find an item's index given a line number.</td> +</tr> +<tr> +<td><a href="#EditorOutlineModel.repopulate">repopulate</a></td> +<td>Public slot to repopulate the model.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EditorOutlineModel.__init__" ID="EditorOutlineModel.__init__"></a> +<h4>EditorOutlineModel (Constructor)</h4> +<b>EditorOutlineModel</b>(<i>editor, populate=True</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor containing the source text +</dd> +<dt><i>populate</i> (bool)</dt> +<dd> +flag indicating to populate the outline +</dd> +</dl> +<a NAME="EditorOutlineModel.__populateModel" ID="EditorOutlineModel.__populateModel"></a> +<h4>EditorOutlineModel.__populateModel</h4> +<b>__populateModel</b>(<i>repopulate=False</i>) + +<p> + Private slot to populate the model. +</p> +<dl> + +<dt><i>repopulate</i> (bool)</dt> +<dd> +flag indicating a repopulation +</dd> +</dl> +<a NAME="EditorOutlineModel.editor" ID="EditorOutlineModel.editor"></a> +<h4>EditorOutlineModel.editor</h4> +<b>editor</b>(<i></i>) + +<p> + Public method to retrieve a reference to the editor. +</p> +<dl> +<dt>Returns:</dt> +<dd> +reference to the editor +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +Editor +</dd> +</dl> +<a NAME="EditorOutlineModel.fileName" ID="EditorOutlineModel.fileName"></a> +<h4>EditorOutlineModel.fileName</h4> +<b>fileName</b>(<i></i>) + +<p> + Public method to retrieve the file name of the editor. +</p> +<dl> +<dt>Returns:</dt> +<dd> +file name of the editor +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="EditorOutlineModel.findItem" ID="EditorOutlineModel.findItem"></a> +<h4>EditorOutlineModel.findItem</h4> +<b>findItem</b>(<i>parent</i>) + +<p> + Function to iteratively search for an item containing the given + line. +</p> +<dl> + +<dt><i>lineno</i> (int)</dt> +<dd> +one based line number of the item +</dd> +<dt><i>parent</i> (BrowserItem)</dt> +<dd> +reference to the parent item +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +found item or None +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +BrowserItem +</dd> +</dl> +<a NAME="EditorOutlineModel.isPopulated" ID="EditorOutlineModel.isPopulated"></a> +<h4>EditorOutlineModel.isPopulated</h4> +<b>isPopulated</b>(<i></i>) + +<p> + Public method to check, if the model is populated. +</p> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating a populated model +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="EditorOutlineModel.itemIndexByLine" ID="EditorOutlineModel.itemIndexByLine"></a> +<h4>EditorOutlineModel.itemIndexByLine</h4> +<b>itemIndexByLine</b>(<i>lineno</i>) + +<p> + Public method to find an item's index given a line number. +</p> +<dl> + +<dt><i>lineno</i> (int)</dt> +<dd> +one based line number of the item +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +index of the item found +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QModelIndex +</dd> +</dl> +<a NAME="EditorOutlineModel.repopulate" ID="EditorOutlineModel.repopulate"></a> +<h4>EditorOutlineModel.repopulate</h4> +<b>repopulate</b>(<i></i>) + +<p> + Public slot to repopulate the model. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html Sun Sep 06 12:33:50 2020 +0200 @@ -59,10 +59,28 @@ <h3>Signals</h3> <dl> +<dt>cursorLineChanged(int)</dt> +<dd> +emitted when the cursor line was changed +</dd> +<dt>editorRenamed(str)</dt> +<dd> +emitted after the editor got a new name + (i.e. after a 'Save As') +</dd> <dt>editorSaved()</dt> <dd> emitted after the file has been saved </dd> +<dt>languageChanged(str)</dt> +<dd> +emitted when the editors language was set. The + language is passed as a parameter. +</dd> +<dt>refreshed()</dt> +<dd> +dummy signal to emulate the Editor interface +</dd> </dl> <h3>Derived from</h3> E5MainWindow @@ -161,6 +179,10 @@ <td>Private slot to handle a change in the documents modification status.</td> </tr> <tr> +<td><a href="#MiniEditor.__editorChanged">__editorChanged</a></td> +<td>Private slot handling changes of the editor language or file name.</td> +</tr> +<tr> <td><a href="#MiniEditor.__getCurrentWord">__getCurrentWord</a></td> <td>Private method to get the word at the current position.</td> </tr> @@ -245,6 +267,10 @@ <td>Private method to redo the last recorded change.</td> </tr> <tr> +<td><a href="#MiniEditor.__resetChangeTimer">__resetChangeTimer</a></td> +<td>Private slot to reset the parse timer.</td> +</tr> +<tr> <td><a href="#MiniEditor.__resetLanguage">__resetLanguage</a></td> <td>Private method used to reset the language selection.</td> </tr> @@ -620,6 +646,13 @@ <p> Private slot to handle a change in the documents modification status. </p> +<a NAME="MiniEditor.__editorChanged" ID="MiniEditor.__editorChanged"></a> +<h4>MiniEditor.__editorChanged</h4> +<b>__editorChanged</b>(<i></i>) + +<p> + Private slot handling changes of the editor language or file name. +</p> <a NAME="MiniEditor.__getCurrentWord" ID="MiniEditor.__getCurrentWord"></a> <h4>MiniEditor.__getCurrentWord</h4> <b>__getCurrentWord</b>(<i></i>) @@ -927,6 +960,13 @@ <p> Private method to redo the last recorded change. </p> +<a NAME="MiniEditor.__resetChangeTimer" ID="MiniEditor.__resetChangeTimer"></a> +<h4>MiniEditor.__resetChangeTimer</h4> +<b>__resetChangeTimer</b>(<i></i>) + +<p> + Private slot to reset the parse timer. +</p> <a NAME="MiniEditor.__resetLanguage" ID="MiniEditor.__resetLanguage"></a> <h4>MiniEditor.__resetLanguage</h4> <b>__resetLanguage</b>(<i></i>) @@ -1038,7 +1078,13 @@ <dl> <dt>Returns:</dt> <dd> -name of the selected pygments lexer (string) +name of the selected pygments lexer +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="MiniEditor.__setCurrentFile" ID="MiniEditor.__setCurrentFile"></a> @@ -1253,15 +1299,34 @@ </dl> <a NAME="MiniEditor.getLanguage" ID="MiniEditor.getLanguage"></a> <h4>MiniEditor.getLanguage</h4> -<b>getLanguage</b>(<i></i>) +<b>getLanguage</b>(<i>normalized=True, forPygments=False</i>) <p> Public method to retrieve the language of the editor. </p> <dl> + +<dt><i>normalized</i> (bool)</dt> +<dd> +flag indicating to normalize some Pygments + lexer names +</dd> +<dt><i>forPygments</i> (bool)</dt> +<dd> +flag indicating to normalize some lexer + names for Pygments +</dd> +</dl> +<dl> <dt>Returns:</dt> <dd> -language of the editor (string) +language of the editor +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="MiniEditor.getSRHistory" ID="MiniEditor.getSRHistory"></a>
--- a/eric6/Documentation/Source/eric6.UI.BrowserModel.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.UI.BrowserModel.html Sun Sep 06 12:33:50 2020 +0200 @@ -636,6 +636,10 @@ <td><a href="#BrowserCodingItem.lessThan">lessThan</a></td> <td>Public method to check, if the item is less than the other one.</td> </tr> +<tr> +<td><a href="#BrowserCodingItem.lineno">lineno</a></td> +<td>Public method returning the line number of the coding line.</td> +</tr> </table> <h3>Static Methods</h3> @@ -645,20 +649,24 @@ <a NAME="BrowserCodingItem.__init__" ID="BrowserCodingItem.__init__"></a> <h4>BrowserCodingItem (Constructor)</h4> -<b>BrowserCodingItem</b>(<i>parent, text</i>) +<b>BrowserCodingItem</b>(<i>parent, text, linenumber</i>) <p> Constructor </p> <dl> -<dt><i>parent</i></dt> +<dt><i>parent</i> (BrowserItem)</dt> <dd> parent item </dd> -<dt><i>text</i></dt> +<dt><i>text</i> (str)</dt> <dd> -text to be shown by this item (string) +text to be shown by this item +</dd> +<dt><i>linenumber</i> (int)</dt> +<dd> +line number of the coding line </dd> </dl> <a NAME="BrowserCodingItem.lessThan" ID="BrowserCodingItem.lessThan"></a> @@ -689,6 +697,25 @@ true, if this item is less than other (boolean) </dd> </dl> +<a NAME="BrowserCodingItem.lineno" ID="BrowserCodingItem.lineno"></a> +<h4>BrowserCodingItem.lineno</h4> +<b>lineno</b>(<i></i>) + +<p> + Public method returning the line number of the coding line. +</p> +<dl> +<dt>Returns:</dt> +<dd> +line number defining the coding line +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +int +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr />
--- a/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.idlclbr.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.idlclbr.html Sun Sep 06 12:33:50 2020 +0200 @@ -72,6 +72,10 @@ <td><a href="#readmodule_ex">readmodule_ex</a></td> <td>Read a CORBA IDL file and return a dictionary of classes, functions and modules.</td> </tr> +<tr> +<td><a href="#scan">scan</a></td> +<td>Public method to scan the given source text.</td> +</tr> </table> <hr /> <hr /> @@ -412,4 +416,41 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="scan" ID="scan"></a> +<h2>scan</h2> +<b>scan</b>(<i>src, file, module</i>) + +<p> + Public method to scan the given source text. +</p> +<dl> + +<dt><i>src</i> (str)</dt> +<dd> +source text to be scanned +</dd> +<dt><i>file</i> (str)</dt> +<dd> +file name associated with the source text +</dd> +<dt><i>module</i> (str)</dt> +<dd> +module name associated with the source text +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the extracted data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.jsclbr.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.jsclbr.html Sun Sep 06 12:33:50 2020 +0200 @@ -62,6 +62,10 @@ <td><a href="#readmodule_ex">readmodule_ex</a></td> <td>Read a JavaScript file and return a dictionary of functions and variables.</td> </tr> +<tr> +<td><a href="#scan">scan</a></td> +<td>Public method to scan the given source text.</td> +</tr> </table> <hr /> <hr /> @@ -458,4 +462,41 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="scan" ID="scan"></a> +<h2>scan</h2> +<b>scan</b>(<i>src, file, module</i>) + +<p> + Public method to scan the given source text. +</p> +<dl> + +<dt><i>src</i> (str)</dt> +<dd> +source text to be scanned +</dd> +<dt><i>file</i> (str)</dt> +<dd> +file name associated with the source text +</dd> +<dt><i>module</i> (str)</dt> +<dd> +module name associated with the source text +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the extracted data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.protoclbr.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.protoclbr.html Sun Sep 06 12:33:50 2020 +0200 @@ -67,6 +67,10 @@ <td><a href="#readmodule_ex">readmodule_ex</a></td> <td>Read a ProtoBuf protocol file and return a dictionary of messages, enums, services and rpc methods.</td> </tr> +<tr> +<td><a href="#scan">scan</a></td> +<td>Public method to scan the given source text.</td> +</tr> </table> <hr /> <hr /> @@ -398,4 +402,41 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="scan" ID="scan"></a> +<h2>scan</h2> +<b>scan</b>(<i>src, file, module</i>) + +<p> + Public method to scan the given source text. +</p> +<dl> + +<dt><i>src</i> (str)</dt> +<dd> +source text to be scanned +</dd> +<dt><i>file</i> (str)</dt> +<dd> +file name associated with the source text +</dd> +<dt><i>module</i> (str)</dt> +<dd> +module name associated with the source text +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the extracted data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.pyclbr.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.pyclbr.html Sun Sep 06 12:33:50 2020 +0200 @@ -79,6 +79,10 @@ <td><a href="#readmodule_ex">readmodule_ex</a></td> <td>Read a module file and return a dictionary of classes.</td> </tr> +<tr> +<td><a href="#scan">scan</a></td> +<td>Public method to scan the given source text.</td> +</tr> </table> <hr /> <hr /> @@ -632,21 +636,21 @@ </p> <dl> -<dt><i>module</i></dt> +<dt><i>module</i> (str)</dt> <dd> -name of the module file (string) +name of the module file </dd> -<dt><i>path</i></dt> +<dt><i>path</i> (list of str)</dt> <dd> -path the module should be searched in (list of strings) +path the module should be searched in </dd> -<dt><i>inpackage</i></dt> +<dt><i>inpackage</i> (bool)</dt> <dd> flag indicating a module inside a package is scanned </dd> -<dt><i>isPyFile</i></dt> +<dt><i>isPyFile</i> (bool)</dt> <dd> -flag indicating a Python file (boolean) +flag indicating a Python file </dd> </dl> <dl> @@ -655,6 +659,49 @@ the resulting dictionary </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="scan" ID="scan"></a> +<h2>scan</h2> +<b>scan</b>(<i>src, file, module</i>) + +<p> + Public method to scan the given source text. +</p> +<dl> + +<dt><i>src</i> (str)</dt> +<dd> +source text to be scanned +</dd> +<dt><i>file</i> (str)</dt> +<dd> +file name associated with the source text +</dd> +<dt><i>module</i> (str)</dt> +<dd> +module name associated with the source text +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the extracted data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.rbclbr.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Utilities.ClassBrowsers.rbclbr.html Sun Sep 06 12:33:50 2020 +0200 @@ -70,6 +70,10 @@ <td><a href="#readmodule_ex">readmodule_ex</a></td> <td>Read a Ruby file and return a dictionary of classes, functions and modules.</td> </tr> +<tr> +<td><a href="#scan">scan</a></td> +<td>Public method to scan the given source text.</td> +</tr> </table> <hr /> <hr /> @@ -402,4 +406,41 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="scan" ID="scan"></a> +<h2>scan</h2> +<b>scan</b>(<i>src, file, module</i>) + +<p> + Public method to scan the given source text. +</p> +<dl> + +<dt><i>src</i> (str)</dt> +<dd> +source text to be scanned +</dd> +<dt><i>file</i> (str)</dt> +<dd> +file name associated with the source text +</dd> +<dt><i>module</i> (str)</dt> +<dd> +module name associated with the source text +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the extracted data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/index-eric6.QScintilla.html Sun Sep 06 12:19:56 2020 +0200 +++ b/eric6/Documentation/Source/index-eric6.QScintilla.html Sun Sep 06 12:33:50 2020 +0200 @@ -81,6 +81,14 @@ <td>Module implementing a class for showing an editor marker map.</td> </tr> <tr> +<td><a href="eric6.QScintilla.EditorOutline.html">EditorOutline</a></td> +<td>Module implementing an outline widget for source code navigation of the editor.</td> +</tr> +<tr> +<td><a href="eric6.QScintilla.EditorOutlineModel.html">EditorOutlineModel</a></td> +<td>Module implementing the editor outline model.</td> +</tr> +<tr> <td><a href="eric6.QScintilla.GotoDialog.html">GotoDialog</a></td> <td>Module implementing the Goto dialog.</td> </tr>