Mon, 08 Apr 2019 19:16:42 +0200
Updated source docu.
--- a/APIs/Python3/eric6.api Mon Apr 08 19:15:58 2019 +0200 +++ b/APIs/Python3/eric6.api Mon Apr 08 19:16:42 2019 +0200 @@ -6928,6 +6928,7 @@ eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace._syntaxErrorToggled?5(editor) eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.activeWindow?4() eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.addSplit?4() +eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.astViewerStateChanged?7 eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.bookmarkToggled?7 eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.breakpointToggled?7 eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.Listspace.canCascade?4() @@ -7005,6 +7006,7 @@ eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview._syntaxErrorToggled?5(editor) eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.activeWindow?4() eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.addSplit?4() +eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.astViewerStateChanged?7 eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.bookmarkToggled?7 eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.breakpointToggled?7 eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.Tabview.canCascade?4() @@ -8480,9 +8482,11 @@ eric6.QScintilla.Editor.Editor.checkDirty?4() eric6.QScintilla.Editor.Editor.checkSpelling?4() eric6.QScintilla.Editor.Editor.checkSyntax?4() +eric6.QScintilla.Editor.Editor.clearAllHighlights?4() eric6.QScintilla.Editor.Editor.clearBookmarks?4() eric6.QScintilla.Editor.Editor.clearBreakpoint?4(line) eric6.QScintilla.Editor.Editor.clearFlakesWarnings?4() +eric6.QScintilla.Editor.Editor.clearHighlight?4(startLine, startIndex, endLine, endIndex) eric6.QScintilla.Editor.Editor.clearSearchIndicators?4() eric6.QScintilla.Editor.Editor.clearStyleWarnings?4() eric6.QScintilla.Editor.Editor.clearStyles?4() @@ -8599,6 +8603,8 @@ eric6.QScintilla.Editor.Editor.menuToggleBookmark?4() eric6.QScintilla.Editor.Editor.menuToggleBreakpoint?4() eric6.QScintilla.Editor.Editor.modificationStatusChanged?7 +eric6.QScintilla.Editor.Editor.mouseDoubleClick?7 +eric6.QScintilla.Editor.Editor.mouseDoubleClickEvent?4(evt) eric6.QScintilla.Editor.Editor.mousePressEvent?4(event) eric6.QScintilla.Editor.Editor.mouseReleaseEvent?4(evt) eric6.QScintilla.Editor.Editor.newBreakpointWithProperties?4(line, properties) @@ -8642,6 +8648,7 @@ eric6.QScintilla.Editor.Editor.sendSharedEdit?4() eric6.QScintilla.Editor.Editor.setAutoCompletionEnabled?4(enable) eric6.QScintilla.Editor.Editor.setAutoSpellChecking?4() +eric6.QScintilla.Editor.Editor.setHighlight?4(startLine, startIndex, endLine, endIndex) eric6.QScintilla.Editor.Editor.setLanguage?4(filename, initTextDisplay=True, propagate=True, pyname="") eric6.QScintilla.Editor.Editor.setMonospaced?4(on) eric6.QScintilla.Editor.Editor.setMouseClickHandler?4(name, modifiers, button, function) @@ -10116,6 +10123,15 @@ eric6.UI.Previewers.PreviewerHTML._StrikeThroughExtension.extendMarkdown?4(md, md_globals) eric6.UI.Previewers.PreviewerQSS.PreviewerQSS.processEditor?4(editor=None) eric6.UI.Previewers.PreviewerQSS.PreviewerQSS?1(parent=None) +eric6.UI.PythonAstViewer.PythonAstViewer.EndIndexRole?7 +eric6.UI.PythonAstViewer.PythonAstViewer.EndLineRole?7 +eric6.UI.PythonAstViewer.PythonAstViewer.StartIndexRole?7 +eric6.UI.PythonAstViewer.PythonAstViewer.StartLineRole?7 +eric6.UI.PythonAstViewer.PythonAstViewer.hide?4() +eric6.UI.PythonAstViewer.PythonAstViewer.resizeEvent?4(evt) +eric6.UI.PythonAstViewer.PythonAstViewer.show?4() +eric6.UI.PythonAstViewer.PythonAstViewer.shutdown?4() +eric6.UI.PythonAstViewer.PythonAstViewer?1(viewmanager, parent=None) eric6.UI.SearchWidget.SearchWidget.keyPressEvent?4(event) eric6.UI.SearchWidget.SearchWidget.on_closeButton_clicked?4() eric6.UI.SearchWidget.SearchWidget.on_findNextButton_clicked?4() @@ -10746,6 +10762,7 @@ eric6.ViewManager.ViewManager.ViewManager.addToExtrasMenu?4(menu) eric6.ViewManager.ViewManager.ViewManager.addToRecentList?4(fn) eric6.ViewManager.ViewManager.ViewManager.appFocusChanged?4(old, now) +eric6.ViewManager.ViewManager.ViewManager.astViewerStateChanged?7 eric6.ViewManager.ViewManager.ViewManager.bookmarkToggled?7 eric6.ViewManager.ViewManager.ViewManager.breakpointToggled?7 eric6.ViewManager.ViewManager.ViewManager.canCascade?4() @@ -10771,6 +10788,7 @@ eric6.ViewManager.ViewManager.ViewManager.editorChangedEd?7 eric6.ViewManager.ViewManager.ViewManager.editorClosed?7 eric6.ViewManager.ViewManager.ViewManager.editorClosedEd?7 +eric6.ViewManager.ViewManager.ViewManager.editorDoubleClickedEd?7 eric6.ViewManager.ViewManager.ViewManager.editorLanguageChanged?7 eric6.ViewManager.ViewManager.ViewManager.editorLineChanged?7 eric6.ViewManager.ViewManager.ViewManager.editorOpened?7
--- a/APIs/Python3/eric6.bas Mon Apr 08 19:15:58 2019 +0200 +++ b/APIs/Python3/eric6.bas Mon Apr 08 19:16:42 2019 +0200 @@ -754,6 +754,7 @@ PyRegExpWizardWidget QWidget Ui_PyRegExpWizardDialog PyRegExpWizardWindow E5MainWindow PySvnProjectHelper VcsProjectHelper +PythonAstViewer QWidget PythonPage ConfigurationPageBase Ui_PythonPage QRegExpWizard QObject QRegExpWizardCharactersDialog QDialog Ui_QRegExpWizardCharactersDialog
--- a/Documentation/Help/source.qhp Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Help/source.qhp Mon Apr 08 19:16:42 2019 +0200 @@ -1173,6 +1173,7 @@ <section title="eric6.UI.NumbersWidget" ref="eric6.UI.NumbersWidget.html" /> <section title="eric6.UI.PixmapCache" ref="eric6.UI.PixmapCache.html" /> <section title="eric6.UI.Previewer" ref="eric6.UI.Previewer.html" /> + <section title="eric6.UI.PythonAstViewer" ref="eric6.UI.PythonAstViewer.html" /> <section title="eric6.UI.SearchWidget" ref="eric6.UI.SearchWidget.html" /> <section title="eric6.UI.SplashScreen" ref="eric6.UI.SplashScreen.html" /> <section title="eric6.UI.SymbolsWidget" ref="eric6.UI.SymbolsWidget.html" /> @@ -5555,9 +5556,11 @@ <keyword name="Editor.checkDirty" id="Editor.checkDirty" ref="eric6.QScintilla.Editor.html#Editor.checkDirty" /> <keyword name="Editor.checkSpelling" id="Editor.checkSpelling" ref="eric6.QScintilla.Editor.html#Editor.checkSpelling" /> <keyword name="Editor.checkSyntax" id="Editor.checkSyntax" ref="eric6.QScintilla.Editor.html#Editor.checkSyntax" /> + <keyword name="Editor.clearAllHighlights" id="Editor.clearAllHighlights" ref="eric6.QScintilla.Editor.html#Editor.clearAllHighlights" /> <keyword name="Editor.clearBookmarks" id="Editor.clearBookmarks" ref="eric6.QScintilla.Editor.html#Editor.clearBookmarks" /> <keyword name="Editor.clearBreakpoint" id="Editor.clearBreakpoint" ref="eric6.QScintilla.Editor.html#Editor.clearBreakpoint" /> <keyword name="Editor.clearFlakesWarnings" id="Editor.clearFlakesWarnings" ref="eric6.QScintilla.Editor.html#Editor.clearFlakesWarnings" /> + <keyword name="Editor.clearHighlight" id="Editor.clearHighlight" ref="eric6.QScintilla.Editor.html#Editor.clearHighlight" /> <keyword name="Editor.clearSearchIndicators" id="Editor.clearSearchIndicators" ref="eric6.QScintilla.Editor.html#Editor.clearSearchIndicators" /> <keyword name="Editor.clearStyleWarnings" id="Editor.clearStyleWarnings" ref="eric6.QScintilla.Editor.html#Editor.clearStyleWarnings" /> <keyword name="Editor.clearStyles" id="Editor.clearStyles" ref="eric6.QScintilla.Editor.html#Editor.clearStyles" /> @@ -5663,6 +5666,7 @@ <keyword name="Editor.menuPreviousBreakpoint" id="Editor.menuPreviousBreakpoint" ref="eric6.QScintilla.Editor.html#Editor.menuPreviousBreakpoint" /> <keyword name="Editor.menuToggleBookmark" id="Editor.menuToggleBookmark" ref="eric6.QScintilla.Editor.html#Editor.menuToggleBookmark" /> <keyword name="Editor.menuToggleBreakpoint" id="Editor.menuToggleBreakpoint" ref="eric6.QScintilla.Editor.html#Editor.menuToggleBreakpoint" /> + <keyword name="Editor.mouseDoubleClickEvent" id="Editor.mouseDoubleClickEvent" ref="eric6.QScintilla.Editor.html#Editor.mouseDoubleClickEvent" /> <keyword name="Editor.mousePressEvent" id="Editor.mousePressEvent" ref="eric6.QScintilla.Editor.html#Editor.mousePressEvent" /> <keyword name="Editor.mouseReleaseEvent" id="Editor.mouseReleaseEvent" ref="eric6.QScintilla.Editor.html#Editor.mouseReleaseEvent" /> <keyword name="Editor.newBreakpointWithProperties" id="Editor.newBreakpointWithProperties" ref="eric6.QScintilla.Editor.html#Editor.newBreakpointWithProperties" /> @@ -5704,6 +5708,7 @@ <keyword name="Editor.sendSharedEdit" id="Editor.sendSharedEdit" ref="eric6.QScintilla.Editor.html#Editor.sendSharedEdit" /> <keyword name="Editor.setAutoCompletionEnabled" id="Editor.setAutoCompletionEnabled" ref="eric6.QScintilla.Editor.html#Editor.setAutoCompletionEnabled" /> <keyword name="Editor.setAutoSpellChecking" id="Editor.setAutoSpellChecking" ref="eric6.QScintilla.Editor.html#Editor.setAutoSpellChecking" /> + <keyword name="Editor.setHighlight" id="Editor.setHighlight" ref="eric6.QScintilla.Editor.html#Editor.setHighlight" /> <keyword name="Editor.setLanguage" id="Editor.setLanguage" ref="eric6.QScintilla.Editor.html#Editor.setLanguage" /> <keyword name="Editor.setMonospaced" id="Editor.setMonospaced" ref="eric6.QScintilla.Editor.html#Editor.setMonospaced" /> <keyword name="Editor.setMouseClickHandler" id="Editor.setMouseClickHandler" ref="eric6.QScintilla.Editor.html#Editor.setMouseClickHandler" /> @@ -13569,6 +13574,31 @@ <keyword name="PySvnProjectHelper.removeToolbar" id="PySvnProjectHelper.removeToolbar" ref="eric6.Plugins.VcsPlugins.vcsPySvn.ProjectHelper.html#PySvnProjectHelper.removeToolbar" /> <keyword name="PyUnit (Package)" id="PyUnit (Package)" ref="index-eric6.PyUnit.html" /> <keyword name="Python (Package)" id="Python (Package)" ref="index-eric6.DebugClients.Python.html" /> + <keyword name="PythonAstViewer" id="PythonAstViewer" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer" /> + <keyword name="PythonAstViewer (Constructor)" id="PythonAstViewer (Constructor)" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__init__" /> + <keyword name="PythonAstViewer (Module)" id="PythonAstViewer (Module)" ref="eric6.UI.PythonAstViewer.html" /> + <keyword name="PythonAstViewer.__astItemClicked" id="PythonAstViewer.__astItemClicked" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__astItemClicked" /> + <keyword name="PythonAstViewer.__astViewerStateChanged" id="PythonAstViewer.__astViewerStateChanged" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__astViewerStateChanged" /> + <keyword name="PythonAstViewer.__clearSelection" id="PythonAstViewer.__clearSelection" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__clearSelection" /> + <keyword name="PythonAstViewer.__createErrorItem" id="PythonAstViewer.__createErrorItem" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__createErrorItem" /> + <keyword name="PythonAstViewer.__editorChanged" id="PythonAstViewer.__editorChanged" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__editorChanged" /> + <keyword name="PythonAstViewer.__editorDoubleClicked" id="PythonAstViewer.__editorDoubleClicked" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__editorDoubleClicked" /> + <keyword name="PythonAstViewer.__editorSaved" id="PythonAstViewer.__editorSaved" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__editorSaved" /> + <keyword name="PythonAstViewer.__findClosestContainingItem" id="PythonAstViewer.__findClosestContainingItem" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__findClosestContainingItem" /> + <keyword name="PythonAstViewer.__findClosestContainingNode" id="PythonAstViewer.__findClosestContainingNode" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__findClosestContainingNode" /> + <keyword name="PythonAstViewer.__grabFocus" id="PythonAstViewer.__grabFocus" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__grabFocus" /> + <keyword name="PythonAstViewer.__lastEditorClosed" id="PythonAstViewer.__lastEditorClosed" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__lastEditorClosed" /> + <keyword name="PythonAstViewer.__loadAST" id="PythonAstViewer.__loadAST" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__loadAST" /> + <keyword name="PythonAstViewer.__markTextRanges" id="PythonAstViewer.__markTextRanges" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__markTextRanges" /> + <keyword name="PythonAstViewer.__populateNode" id="PythonAstViewer.__populateNode" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__populateNode" /> + <keyword name="PythonAstViewer.__rangeContainsSmaller" id="PythonAstViewer.__rangeContainsSmaller" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__rangeContainsSmaller" /> + <keyword name="PythonAstViewer.__rangeContainsSmallerOrEqual" id="PythonAstViewer.__rangeContainsSmallerOrEqual" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__rangeContainsSmallerOrEqual" /> + <keyword name="PythonAstViewer.__resizeColumns" id="PythonAstViewer.__resizeColumns" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__resizeColumns" /> + <keyword name="PythonAstViewer.__selectItemForEditorSelection" id="PythonAstViewer.__selectItemForEditorSelection" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.__selectItemForEditorSelection" /> + <keyword name="PythonAstViewer.hide" id="PythonAstViewer.hide" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.hide" /> + <keyword name="PythonAstViewer.resizeEvent" id="PythonAstViewer.resizeEvent" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.resizeEvent" /> + <keyword name="PythonAstViewer.show" id="PythonAstViewer.show" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.show" /> + <keyword name="PythonAstViewer.shutdown" id="PythonAstViewer.shutdown" ref="eric6.UI.PythonAstViewer.html#PythonAstViewer.shutdown" /> <keyword name="PythonPage" id="PythonPage" ref="eric6.Preferences.ConfigurationPages.PythonPage.html#PythonPage" /> <keyword name="PythonPage (Constructor)" id="PythonPage (Constructor)" ref="eric6.Preferences.ConfigurationPages.PythonPage.html#PythonPage.__init__" /> <keyword name="PythonPage (Module)" id="PythonPage (Module)" ref="eric6.Preferences.ConfigurationPages.PythonPage.html" /> @@ -17173,10 +17203,12 @@ <keyword name="UserInterface.__TRPreviewer" id="UserInterface.__TRPreviewer" ref="eric6.UI.UserInterface.html#UserInterface.__TRPreviewer" /> <keyword name="UserInterface.__UIPreviewer" id="UserInterface.__UIPreviewer" ref="eric6.UI.UserInterface.html#UserInterface.__UIPreviewer" /> <keyword name="UserInterface.__activateBrowser" id="UserInterface.__activateBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__activateBrowser" /> + <keyword name="UserInterface.__activateCondaWidget" id="UserInterface.__activateCondaWidget" ref="eric6.UI.UserInterface.html#UserInterface.__activateCondaWidget" /> <keyword name="UserInterface.__activateIRC" id="UserInterface.__activateIRC" ref="eric6.UI.UserInterface.html#UserInterface.__activateIRC" /> <keyword name="UserInterface.__activateLogViewer" id="UserInterface.__activateLogViewer" ref="eric6.UI.UserInterface.html#UserInterface.__activateLogViewer" /> <keyword name="UserInterface.__activateMultiProjectBrowser" id="UserInterface.__activateMultiProjectBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__activateMultiProjectBrowser" /> <keyword name="UserInterface.__activateNumbersViewer" id="UserInterface.__activateNumbersViewer" ref="eric6.UI.UserInterface.html#UserInterface.__activateNumbersViewer" /> + <keyword name="UserInterface.__activatePipWidget" id="UserInterface.__activatePipWidget" ref="eric6.UI.UserInterface.html#UserInterface.__activatePipWidget" /> <keyword name="UserInterface.__activateProjectBrowser" id="UserInterface.__activateProjectBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__activateProjectBrowser" /> <keyword name="UserInterface.__activateShell" id="UserInterface.__activateShell" ref="eric6.UI.UserInterface.html#UserInterface.__activateShell" /> <keyword name="UserInterface.__activateSymbolsViewer" id="UserInterface.__activateSymbolsViewer" ref="eric6.UI.UserInterface.html#UserInterface.__activateSymbolsViewer" /> @@ -17627,6 +17659,7 @@ <keyword name="ViewManager (Module)" id="ViewManager (Module)" ref="eric6.ViewManager.ViewManager.html" /> <keyword name="ViewManager (Package)" id="ViewManager (Package)" ref="index-eric6.ViewManager.html" /> <keyword name="ViewManager.__addBookmarked" id="ViewManager.__addBookmarked" ref="eric6.ViewManager.ViewManager.html#ViewManager.__addBookmarked" /> + <keyword name="ViewManager.__astViewer" id="ViewManager.__astViewer" ref="eric6.ViewManager.ViewManager.html#ViewManager.__astViewer" /> <keyword name="ViewManager.__autosave" id="ViewManager.__autosave" ref="eric6.ViewManager.ViewManager.html#ViewManager.__autosave" /> <keyword name="ViewManager.__bookmarkSelected" id="ViewManager.__bookmarkSelected" ref="eric6.ViewManager.ViewManager.html#ViewManager.__bookmarkSelected" /> <keyword name="ViewManager.__bookmarkToggled" id="ViewManager.__bookmarkToggled" ref="eric6.ViewManager.ViewManager.html#ViewManager.__bookmarkToggled" /> @@ -17676,6 +17709,7 @@ <keyword name="ViewManager.__editorAutoCompletionAPIsAvailable" id="ViewManager.__editorAutoCompletionAPIsAvailable" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorAutoCompletionAPIsAvailable" /> <keyword name="ViewManager.__editorCommand" id="ViewManager.__editorCommand" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorCommand" /> <keyword name="ViewManager.__editorConfigChanged" id="ViewManager.__editorConfigChanged" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorConfigChanged" /> + <keyword name="ViewManager.__editorDoubleClicked" id="ViewManager.__editorDoubleClicked" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorDoubleClicked" /> <keyword name="ViewManager.__editorOpened" id="ViewManager.__editorOpened" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorOpened" /> <keyword name="ViewManager.__editorRenamed" id="ViewManager.__editorRenamed" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorRenamed" /> <keyword name="ViewManager.__editorSaved" id="ViewManager.__editorSaved" ref="eric6.ViewManager.ViewManager.html#ViewManager.__editorSaved" /> @@ -20771,6 +20805,7 @@ <file>eric6.UI.Previewer.html</file> <file>eric6.UI.Previewers.PreviewerHTML.html</file> <file>eric6.UI.Previewers.PreviewerQSS.html</file> + <file>eric6.UI.PythonAstViewer.html</file> <file>eric6.UI.SearchWidget.html</file> <file>eric6.UI.SplashScreen.html</file> <file>eric6.UI.SymbolsWidget.html</file>
--- a/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.html Mon Apr 08 19:16:42 2019 +0200 @@ -48,7 +48,11 @@ Class implementing the listspace viewmanager class. </p><h3>Signals</h3> <dl> -<dt>bookmarkToggled(Editor)</dt> +<dt>astViewerStateChanged(bool)</dt> +<dd> +emitted to signal a change in the + AST viewer state +</dd><dt>bookmarkToggled(Editor)</dt> <dd> emitted when a bookmark is toggled. </dd><dt>breakpointToggled(Editor)</dt>
--- a/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.html Mon Apr 08 19:16:42 2019 +0200 @@ -643,7 +643,11 @@ Class implementing a tabbed viewmanager class embedded in a splitter. </p><h3>Signals</h3> <dl> -<dt>bookmarkToggled(Editor)</dt> +<dt>astViewerStateChanged(bool)</dt> +<dd> +emitted to signal a change in the + AST viewer state +</dd><dt>bookmarkToggled(Editor)</dt> <dd> emitted when a bookmark is toggled. </dd><dt>breakpointToggled(Editor)</dt>
--- a/Documentation/Source/eric6.QScintilla.Editor.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.QScintilla.Editor.html Mon Apr 08 19:16:42 2019 +0200 @@ -106,6 +106,10 @@ <dd> emitted when the modification status has changed +</dd><dt>mouseDoubleClick(position, buttons)</dt> +<dd> +emitted to signal a mouse + double click somewhere in the editor area </dd><dt>redoAvailable(bool)</dt> <dd> emitted to signal the redo availability @@ -705,6 +709,9 @@ <td><a href="#Editor.checkSyntax">checkSyntax</a></td> <td>Public method to perform an automatic syntax check of the file.</td> </tr><tr> +<td><a href="#Editor.clearAllHighlights">clearAllHighlights</a></td> +<td>Public method to clear all highlights.</td> +</tr><tr> <td><a href="#Editor.clearBookmarks">clearBookmarks</a></td> <td>Public slot to handle the 'Clear all bookmarks' context menu action.</td> </tr><tr> @@ -714,6 +721,9 @@ <td><a href="#Editor.clearFlakesWarnings">clearFlakesWarnings</a></td> <td>Public slot to clear all pyflakes warnings.</td> </tr><tr> +<td><a href="#Editor.clearHighlight">clearHighlight</a></td> +<td>Public method to clear a text highlight.</td> +</tr><tr> <td><a href="#Editor.clearSearchIndicators">clearSearchIndicators</a></td> <td>Public method to clear all search indicators.</td> </tr><tr> @@ -1029,6 +1039,9 @@ <td><a href="#Editor.menuToggleBreakpoint">menuToggleBreakpoint</a></td> <td>Public slot to handle the 'Toggle breakpoint' context menu action.</td> </tr><tr> +<td><a href="#Editor.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> +<td>Protected method to handle mouse double click events.</td> +</tr><tr> <td><a href="#Editor.mousePressEvent">mousePressEvent</a></td> <td>Protected method to handle the mouse press event.</td> </tr><tr> @@ -1152,6 +1165,9 @@ <td><a href="#Editor.setAutoSpellChecking">setAutoSpellChecking</a></td> <td>Public method to set the automatic spell checking.</td> </tr><tr> +<td><a href="#Editor.setHighlight">setHighlight</a></td> +<td>Public method to set a text highlight.</td> +</tr><tr> <td><a href="#Editor.setLanguage">setLanguage</a></td> <td>Public method to set a lexer language.</td> </tr><tr> @@ -2950,6 +2966,11 @@ <b>checkSyntax</b>(<i></i>) <p> Public method to perform an automatic syntax check of the file. +</p><a NAME="Editor.clearAllHighlights" ID="Editor.clearAllHighlights"></a> +<h4>Editor.clearAllHighlights</h4> +<b>clearAllHighlights</b>(<i></i>) +<p> + Public method to clear all highlights. </p><a NAME="Editor.clearBookmarks" ID="Editor.clearBookmarks"></a> <h4>Editor.clearBookmarks</h4> <b>clearBookmarks</b>(<i></i>) @@ -2973,7 +2994,26 @@ <b>clearFlakesWarnings</b>(<i></i>) <p> Public slot to clear all pyflakes warnings. -</p><a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a> +</p><a NAME="Editor.clearHighlight" ID="Editor.clearHighlight"></a> +<h4>Editor.clearHighlight</h4> +<b>clearHighlight</b>(<i>startLine, startIndex, endLine, endIndex</i>) +<p> + Public method to clear a text highlight. +</p><dl> +<dt><i>startLine</i> (int)</dt> +<dd> +line of the highlight start +</dd><dt><i>startIndex</i> (int)</dt> +<dd> +index of the highlight start +</dd><dt><i>endLine</i> (int)</dt> +<dd> +line of the highlight end +</dd><dt><i>endIndex</i> (int)</dt> +<dd> +index of the highlight end +</dd> +</dl><a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a> <h4>Editor.clearSearchIndicators</h4> <b>clearSearchIndicators</b>(<i></i>) <p> @@ -4100,7 +4140,17 @@ <b>menuToggleBreakpoint</b>(<i></i>) <p> Public slot to handle the 'Toggle breakpoint' context menu action. -</p><a NAME="Editor.mousePressEvent" ID="Editor.mousePressEvent"></a> +</p><a NAME="Editor.mouseDoubleClickEvent" ID="Editor.mouseDoubleClickEvent"></a> +<h4>Editor.mouseDoubleClickEvent</h4> +<b>mouseDoubleClickEvent</b>(<i>evt</i>) +<p> + Protected method to handle mouse double click events. +</p><dl> +<dt><i>evt</i> (QMouseEvent)</dt> +<dd> +reference to the mouse event +</dd> +</dl><a NAME="Editor.mousePressEvent" ID="Editor.mousePressEvent"></a> <h4>Editor.mousePressEvent</h4> <b>mousePressEvent</b>(<i>event</i>) <p> @@ -4430,7 +4480,26 @@ <b>setAutoSpellChecking</b>(<i></i>) <p> Public method to set the automatic spell checking. -</p><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a> +</p><a NAME="Editor.setHighlight" ID="Editor.setHighlight"></a> +<h4>Editor.setHighlight</h4> +<b>setHighlight</b>(<i>startLine, startIndex, endLine, endIndex</i>) +<p> + Public method to set a text highlight. +</p><dl> +<dt><i>startLine</i> (int)</dt> +<dd> +line of the highlight start +</dd><dt><i>startIndex</i> (int)</dt> +<dd> +index of the highlight start +</dd><dt><i>endLine</i> (int)</dt> +<dd> +line of the highlight end +</dd><dt><i>endIndex</i> (int)</dt> +<dd> +index of the highlight end +</dd> +</dl><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a> <h4>Editor.setLanguage</h4> <b>setLanguage</b>(<i>filename, initTextDisplay=True, propagate=True, pyname=""</i>) <p>
--- a/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Mon Apr 08 19:16:42 2019 +0200 @@ -1303,11 +1303,15 @@ QsciScintilla.INDIC_TT, QsciScintilla.INDIC_DIAGONAL, QsciScintilla.INDIC_STRIKE, QsciScintilla.INDIC_HIDDEN, QsciScintilla.INDIC_BOX, QsciScintilla.INDIC_ROUNDBOX, - QsciScintilla.INDIC_STRAIGHTBOX, QsciScintilla.INDIC_DASH, - QsciScintilla.INDIC_DOTS, QsciScintilla.INDIC_SQUIGGLELOW, - QsciScintilla.INDIC_DOTBOX, QsciScintilla.INDIC_SQUIGGLEPIXMAP, - QsciScintilla.INDIC_COMPOSITIONTHICK depending upon QScintilla - version) + QsciScintilla.INDIC_STRAIGHTBOX, QsciScintilla.INDIC_FULLBOX, + QsciScintilla.INDIC_DASH, QsciScintilla.INDIC_DOTS, + QsciScintilla.INDIC_SQUIGGLELOW, QsciScintilla.INDIC_DOTBOX, + QsciScintilla.INDIC_GRADIENT, QsciScintilla.INDIC_GRADIENTCENTRE, + QsciScintilla.INDIC_SQUIGGLEPIXMAP, + QsciScintilla.INDIC_COMPOSITIONTHICK, + QsciScintilla.INDIC_COMPOSITIONTHIN, QsciScintilla.INDIC_TEXTFORE, + QsciScintilla.INDIC_POINT, QsciScintilla.INDIC_POINTCHARACTER + depending upon QScintilla version) </dd><dt><i>color</i></dt> <dd> color to be used by the indicator (QColor)
--- a/Documentation/Source/eric6.UI.UserInterface.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.UI.UserInterface.html Mon Apr 08 19:16:42 2019 +0200 @@ -201,6 +201,9 @@ <td><a href="#UserInterface.__activateBrowser">__activateBrowser</a></td> <td>Private slot to handle the activation of the file browser.</td> </tr><tr> +<td><a href="#UserInterface.__activateCondaWidget">__activateCondaWidget</a></td> +<td>Private slot to handle the activation of the Conda manager widget.</td> +</tr><tr> <td><a href="#UserInterface.__activateIRC">__activateIRC</a></td> <td>Private slot to handle the activation of the IRC window.</td> </tr><tr> @@ -213,6 +216,9 @@ <td><a href="#UserInterface.__activateNumbersViewer">__activateNumbersViewer</a></td> <td>Private slot to handle the activation of the Numbers Viewer.</td> </tr><tr> +<td><a href="#UserInterface.__activatePipWidget">__activatePipWidget</a></td> +<td>Private slot to handle the activation of the PyPI manager widget.</td> +</tr><tr> <td><a href="#UserInterface.__activateProjectBrowser">__activateProjectBrowser</a></td> <td>Private slot to handle the activation of the project browser.</td> </tr><tr> @@ -937,6 +943,11 @@ <b>__activateBrowser</b>(<i></i>) <p> Private slot to handle the activation of the file browser. +</p><a NAME="UserInterface.__activateCondaWidget" ID="UserInterface.__activateCondaWidget"></a> +<h4>UserInterface.__activateCondaWidget</h4> +<b>__activateCondaWidget</b>(<i></i>) +<p> + Private slot to handle the activation of the Conda manager widget. </p><a NAME="UserInterface.__activateIRC" ID="UserInterface.__activateIRC"></a> <h4>UserInterface.__activateIRC</h4> <b>__activateIRC</b>(<i></i>) @@ -957,6 +968,11 @@ <b>__activateNumbersViewer</b>(<i></i>) <p> Private slot to handle the activation of the Numbers Viewer. +</p><a NAME="UserInterface.__activatePipWidget" ID="UserInterface.__activatePipWidget"></a> +<h4>UserInterface.__activatePipWidget</h4> +<b>__activatePipWidget</b>(<i></i>) +<p> + Private slot to handle the activation of the PyPI manager widget. </p><a NAME="UserInterface.__activateProjectBrowser" ID="UserInterface.__activateProjectBrowser"></a> <h4>UserInterface.__activateProjectBrowser</h4> <b>__activateProjectBrowser</b>(<i></i>)
--- a/Documentation/Source/eric6.ViewManager.ViewManager.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/eric6.ViewManager.ViewManager.html Mon Apr 08 19:16:42 2019 +0200 @@ -125,7 +125,11 @@ viewmanager classes and all common methods. </p><h3>Signals</h3> <dl> -<dt>bookmarkToggled(Editor)</dt> +<dt>astViewerStateChanged(bool)</dt> +<dd> +emitted to signal a change in the + AST viewer state +</dd><dt>bookmarkToggled(Editor)</dt> <dd> emitted when a bookmark is toggled </dd><dt>breakpointToggled(Editor)</dt> @@ -155,6 +159,10 @@ <dd> emitted just before an editor window gets closed +</dd><dt>editorDoubleClickedEd(Editor, position, buttons)</dt> +<dd> +emitted to signal + a mouse double click in an editor </dd><dt>editorLanguageChanged(Editor)</dt> <dd> emitted to signal a change of an @@ -216,6 +224,9 @@ <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.__astViewer">__astViewer</a></td> +<td>Private slot to handle a change of the AST Viewer selection state.</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> @@ -363,6 +374,9 @@ <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> <td>Private slot to handle changes of an editor's configuration.</td> </tr><tr> +<td><a href="#ViewManager.__editorDoubleClicked">__editorDoubleClicked</a></td> +<td>Private slot handling mouse double clicks of an editor.</td> +</tr><tr> <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> <td>Private slot to handle the editorOpened signal.</td> </tr><tr> @@ -1008,7 +1022,17 @@ <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> +</p><a NAME="ViewManager.__astViewer" ID="ViewManager.__astViewer"></a> +<h4>ViewManager.__astViewer</h4> +<b>__astViewer</b>(<i>checked</i>) +<p> + Private slot to handle a change of the AST Viewer selection state. +</p><dl> +<dt><i>checked</i></dt> +<dd> +state of the action (boolean) +</dd> +</dl><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a> <h4>ViewManager.__autosave</h4> <b>__autosave</b>(<i></i>) <p> @@ -1329,6 +1353,25 @@ <dd> reference to the editor </dd> +</dl><a NAME="ViewManager.__editorDoubleClicked" ID="ViewManager.__editorDoubleClicked"></a> +<h4>ViewManager.__editorDoubleClicked</h4> +<b>__editorDoubleClicked</b>(<i>editor, pos, buttons</i>) +<p> + Private slot handling mouse double clicks of an editor. +</p><p> + Note: This method is simply a multiplexer to re-emit the signal + with the editor prepended. +</p><dl> +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor, that emitted the signal +</dd><dt><i>pos</i> (QPoint)</dt> +<dd> +position of the double click +</dd><dt><i>buttons</i> (Qt.MouseButtons)</dt> +<dd> +mouse buttons that were double clicked +</dd> </dl><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> <h4>ViewManager.__editorOpened</h4> <b>__editorOpened</b>(<i></i>)
--- a/Documentation/Source/index-eric6.UI.html Mon Apr 08 19:15:58 2019 +0200 +++ b/Documentation/Source/index-eric6.UI.html Mon Apr 08 19:16:42 2019 +0200 @@ -107,6 +107,9 @@ <td><a href="eric6.UI.Previewer.html">Previewer</a></td> <td>Module implementing a previewer widget for HTML, Markdown and ReST files.</td> </tr><tr> +<td><a href="eric6.UI.PythonAstViewer.html">PythonAstViewer</a></td> +<td>Module implementing a widget to visualize the Python AST for some Python sources.</td> +</tr><tr> <td><a href="eric6.UI.SearchWidget.html">SearchWidget</a></td> <td>Module implementing the search box for the shell, terminal and log viewer.</td> </tr><tr>