Thu, 24 Oct 2019 19:34:53 +0200
Regenerated source docu.
--- a/eric6/APIs/Python3/eric6.api Thu Oct 24 19:33:08 2019 +0200 +++ b/eric6/APIs/Python3/eric6.api Thu Oct 24 19:34:53 2019 +0200 @@ -7276,6 +7276,7 @@ eric6.QScintilla.Editor.Editor.getSearchIndicatorLines?4() eric6.QScintilla.Editor.Editor.getSearchText?4(selectionOnly=False) eric6.QScintilla.Editor.Editor.getSharingStatus?4() +eric6.QScintilla.Editor.Editor.getSpellingLanguage?4() eric6.QScintilla.Editor.Editor.getSyntaxErrorLines?4() eric6.QScintilla.Editor.Editor.getSyntaxErrors?4() eric6.QScintilla.Editor.Editor.getTaskLines?4() @@ -7388,6 +7389,7 @@ eric6.QScintilla.Editor.Editor.showMenu?7 eric6.QScintilla.Editor.Editor.smartIndentLineOrSelection?4() eric6.QScintilla.Editor.Editor.sortLines?4() +eric6.QScintilla.Editor.Editor.spellLanguageChanged?7 eric6.QScintilla.Editor.Editor.startSharedEdit?4() eric6.QScintilla.Editor.Editor.streamCommentLine?4() eric6.QScintilla.Editor.Editor.streamCommentLineOrSelection?4()
--- a/eric6/Documentation/Help/source.qhp Thu Oct 24 19:33:08 2019 +0200 +++ b/eric6/Documentation/Help/source.qhp Thu Oct 24 19:34:53 2019 +0200 @@ -4649,6 +4649,7 @@ <keyword name="Editor.__checkEncoding" id="Editor.__checkEncoding" ref="eric6.QScintilla.Editor.html#Editor.__checkEncoding" /> <keyword name="Editor.__checkEol" id="Editor.__checkEol" ref="eric6.QScintilla.Editor.html#Editor.__checkEol" /> <keyword name="Editor.__checkLanguage" id="Editor.__checkLanguage" ref="eric6.QScintilla.Editor.html#Editor.__checkLanguage" /> + <keyword name="Editor.__checkSpellLanguage" id="Editor.__checkSpellLanguage" ref="eric6.QScintilla.Editor.html#Editor.__checkSpellLanguage" /> <keyword name="Editor.__checkSpellingSelection" id="Editor.__checkSpellingSelection" ref="eric6.QScintilla.Editor.html#Editor.__checkSpellingSelection" /> <keyword name="Editor.__checkSpellingWord" id="Editor.__checkSpellingWord" ref="eric6.QScintilla.Editor.html#Editor.__checkSpellingWord" /> <keyword name="Editor.__clearBreakpoints" id="Editor.__clearBreakpoints" ref="eric6.QScintilla.Editor.html#Editor.__clearBreakpoints" /> @@ -4700,6 +4701,7 @@ <keyword name="Editor.__initContextMenuReopenWithEncoding" id="Editor.__initContextMenuReopenWithEncoding" ref="eric6.QScintilla.Editor.html#Editor.__initContextMenuReopenWithEncoding" /> <keyword name="Editor.__initContextMenuResources" id="Editor.__initContextMenuResources" ref="eric6.QScintilla.Editor.html#Editor.__initContextMenuResources" /> <keyword name="Editor.__initContextMenuShow" id="Editor.__initContextMenuShow" ref="eric6.QScintilla.Editor.html#Editor.__initContextMenuShow" /> + <keyword name="Editor.__initContextMenuSpellLanguages" id="Editor.__initContextMenuSpellLanguages" ref="eric6.QScintilla.Editor.html#Editor.__initContextMenuSpellLanguages" /> <keyword name="Editor.__initContextMenuTools" id="Editor.__initContextMenuTools" ref="eric6.QScintilla.Editor.html#Editor.__initContextMenuTools" /> <keyword name="Editor.__initOnlineChangeTrace" id="Editor.__initOnlineChangeTrace" ref="eric6.QScintilla.Editor.html#Editor.__initOnlineChangeTrace" /> <keyword name="Editor.__initOnlineSyntaxCheck" id="Editor.__initOnlineSyntaxCheck" ref="eric6.QScintilla.Editor.html#Editor.__initOnlineSyntaxCheck" /> @@ -4780,6 +4782,7 @@ <keyword name="Editor.__showContextMenuMargin" id="Editor.__showContextMenuMargin" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuMargin" /> <keyword name="Editor.__showContextMenuResources" id="Editor.__showContextMenuResources" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuResources" /> <keyword name="Editor.__showContextMenuShow" id="Editor.__showContextMenuShow" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuShow" /> + <keyword name="Editor.__showContextMenuSpellLanguages" id="Editor.__showContextMenuSpellLanguages" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuSpellLanguages" /> <keyword name="Editor.__showContextMenuSpelling" id="Editor.__showContextMenuSpelling" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuSpelling" /> <keyword name="Editor.__showContextMenuTools" id="Editor.__showContextMenuTools" ref="eric6.QScintilla.Editor.html#Editor.__showContextMenuTools" /> <keyword name="Editor.__showImportsDiagram" id="Editor.__showImportsDiagram" ref="eric6.QScintilla.Editor.html#Editor.__showImportsDiagram" /> @@ -4788,6 +4791,8 @@ <keyword name="Editor.__showSyntaxError" id="Editor.__showSyntaxError" ref="eric6.QScintilla.Editor.html#Editor.__showSyntaxError" /> <keyword name="Editor.__showWarning" id="Editor.__showWarning" ref="eric6.QScintilla.Editor.html#Editor.__showWarning" /> <keyword name="Editor.__spellCharAdded" id="Editor.__spellCharAdded" ref="eric6.QScintilla.Editor.html#Editor.__spellCharAdded" /> + <keyword name="Editor.__spellLanguageChanged" id="Editor.__spellLanguageChanged" ref="eric6.QScintilla.Editor.html#Editor.__spellLanguageChanged" /> + <keyword name="Editor.__spellLanguagesMenuTriggered" id="Editor.__spellLanguagesMenuTriggered" ref="eric6.QScintilla.Editor.html#Editor.__spellLanguagesMenuTriggered" /> <keyword name="Editor.__styleNeeded" id="Editor.__styleNeeded" ref="eric6.QScintilla.Editor.html#Editor.__styleNeeded" /> <keyword name="Editor.__textChanged" id="Editor.__textChanged" ref="eric6.QScintilla.Editor.html#Editor.__textChanged" /> <keyword name="Editor.__toggleAutoCompletionEnable" id="Editor.__toggleAutoCompletionEnable" ref="eric6.QScintilla.Editor.html#Editor.__toggleAutoCompletionEnable" /> @@ -4875,6 +4880,7 @@ <keyword name="Editor.getSearchIndicatorLines" id="Editor.getSearchIndicatorLines" ref="eric6.QScintilla.Editor.html#Editor.getSearchIndicatorLines" /> <keyword name="Editor.getSearchText" id="Editor.getSearchText" ref="eric6.QScintilla.Editor.html#Editor.getSearchText" /> <keyword name="Editor.getSharingStatus" id="Editor.getSharingStatus" ref="eric6.QScintilla.Editor.html#Editor.getSharingStatus" /> + <keyword name="Editor.getSpellingLanguage" id="Editor.getSpellingLanguage" ref="eric6.QScintilla.Editor.html#Editor.getSpellingLanguage" /> <keyword name="Editor.getSyntaxErrorLines" id="Editor.getSyntaxErrorLines" ref="eric6.QScintilla.Editor.html#Editor.getSyntaxErrorLines" /> <keyword name="Editor.getSyntaxErrors" id="Editor.getSyntaxErrors" ref="eric6.QScintilla.Editor.html#Editor.getSyntaxErrors" /> <keyword name="Editor.getTaskLines" id="Editor.getTaskLines" ref="eric6.QScintilla.Editor.html#Editor.getTaskLines" />
--- a/eric6/Documentation/Source/eric6.QScintilla.Editor.html Thu Oct 24 19:33:08 2019 +0200 +++ b/eric6/Documentation/Source/eric6.QScintilla.Editor.html Thu Oct 24 19:34:53 2019 +0200 @@ -156,6 +156,11 @@ about to be shown. The name of the menu, a reference to the menu and a reference to the editor are given. </dd> +<dt>spellLanguageChanged(str)</dt> +<dd> +emitted when the editor spell check + language was set. The language is passed as a parameter. +</dd> <dt>syntaxerrorToggled(QsciScintillaCompat)</dt> <dd> emitted when a syntax error @@ -288,6 +293,10 @@ <td>Private method to check the selected language of the language submenu.</td> </tr> <tr> +<td><a href="#Editor.__checkSpellLanguage">__checkSpellLanguage</a></td> +<td>Private slot to check the selected spell check language action.</td> +</tr> +<tr> <td><a href="#Editor.__checkSpellingSelection">__checkSpellingSelection</a></td> <td>Private slot to spell check the current selection.</td> </tr> @@ -492,6 +501,10 @@ <td>Private method used to setup the Show context sub menu.</td> </tr> <tr> +<td><a href="#Editor.__initContextMenuSpellLanguages">__initContextMenuSpellLanguages</a></td> +<td>Private method to setup the spell checking languages context sub menu.</td> +</tr> +<tr> <td><a href="#Editor.__initContextMenuTools">__initContextMenuTools</a></td> <td>Private method used to setup the Tools context sub menu.</td> </tr> @@ -812,6 +825,10 @@ <td>Private slot called before the show menu is shown.</td> </tr> <tr> +<td><a href="#Editor.__showContextMenuSpellLanguages">__showContextMenuSpellLanguages</a></td> +<td>Private slot handling the aboutToShow signal of the spell check languages context menu.</td> +</tr> +<tr> <td><a href="#Editor.__showContextMenuSpelling">__showContextMenuSpelling</a></td> <td>Private slot to set up the spelling menu before it is shown.</td> </tr> @@ -844,6 +861,14 @@ <td>Private slot called to handle the user entering a character.</td> </tr> <tr> +<td><a href="#Editor.__spellLanguageChanged">__spellLanguageChanged</a></td> +<td>Private slot to handle a change of the spell check language.</td> +</tr> +<tr> +<td><a href="#Editor.__spellLanguagesMenuTriggered">__spellLanguagesMenuTriggered</a></td> +<td>Private method to handle the selection of a spell check language.</td> +</tr> +<tr> <td><a href="#Editor.__styleNeeded">__styleNeeded</a></td> <td>Private slot to handle the need for more styling.</td> </tr> @@ -1192,6 +1217,10 @@ <td>Public method to get some share status info.</td> </tr> <tr> +<td><a href="#Editor.getSpellingLanguage">getSpellingLanguage</a></td> +<td>Public method to get the current spelling language.</td> +</tr> +<tr> <td><a href="#Editor.getSyntaxErrorLines">getSyntaxErrorLines</a></td> <td>Public method to get the lines containing a syntax error.</td> </tr> @@ -2050,6 +2079,13 @@ <p> Private method to check the selected language of the language submenu. </p> +<a NAME="Editor.__checkSpellLanguage" ID="Editor.__checkSpellLanguage"></a> +<h4>Editor.__checkSpellLanguage</h4> +<b>__checkSpellLanguage</b>(<i></i>) + +<p> + Private slot to check the selected spell check language action. +</p> <a NAME="Editor.__checkSpellingSelection" ID="Editor.__checkSpellingSelection"></a> <h4>Editor.__checkSpellingSelection</h4> <b>__checkSpellingSelection</b>(<i></i>) @@ -2725,6 +2761,25 @@ reference to the generated menu (QMenu) </dd> </dl> +<a NAME="Editor.__initContextMenuSpellLanguages" ID="Editor.__initContextMenuSpellLanguages"></a> +<h4>Editor.__initContextMenuSpellLanguages</h4> +<b>__initContextMenuSpellLanguages</b>(<i></i>) + +<p> + Private method to setup the spell checking languages context sub menu. +</p> +<dl> +<dt>Returns:</dt> +<dd> +reference to the generated menu +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QMenu +</dd> +</dl> <a NAME="Editor.__initContextMenuTools" ID="Editor.__initContextMenuTools"></a> <h4>Editor.__initContextMenuTools</h4> <b>__initContextMenuTools</b>(<i></i>) @@ -3643,6 +3698,14 @@ <p> Private slot called before the show menu is shown. </p> +<a NAME="Editor.__showContextMenuSpellLanguages" ID="Editor.__showContextMenuSpellLanguages"></a> +<h4>Editor.__showContextMenuSpellLanguages</h4> +<b>__showContextMenuSpellLanguages</b>(<i></i>) + +<p> + Private slot handling the aboutToShow signal of the spell check + languages context menu. +</p> <a NAME="Editor.__showContextMenuSpelling" ID="Editor.__showContextMenuSpelling"></a> <h4>Editor.__showContextMenuSpelling</h4> <b>__showContextMenuSpelling</b>(<i></i>) @@ -3722,6 +3785,38 @@ value of the character entered (integer) </dd> </dl> +<a NAME="Editor.__spellLanguageChanged" ID="Editor.__spellLanguageChanged"></a> +<h4>Editor.__spellLanguageChanged</h4> +<b>__spellLanguageChanged</b>(<i>language, propagate=True</i>) + +<p> + Private slot to handle a change of the spell check language. +</p> +<dl> + +<dt><i>language</i> (str)</dt> +<dd> +new spell check language +</dd> +<dt><i>propagate</i> (bool)</dt> +<dd> +flag indicating to propagate the change +</dd> +</dl> +<a NAME="Editor.__spellLanguagesMenuTriggered" ID="Editor.__spellLanguagesMenuTriggered"></a> +<h4>Editor.__spellLanguagesMenuTriggered</h4> +<b>__spellLanguagesMenuTriggered</b>(<i>act</i>) + +<p> + Private method to handle the selection of a spell check language. +</p> +<dl> + +<dt><i>act</i> (QAction)</dt> +<dd> +reference to the action that was triggered +</dd> +</dl> <a NAME="Editor.__styleNeeded" ID="Editor.__styleNeeded"></a> <h4>Editor.__styleNeeded</h4> <b>__styleNeeded</b>(<i>position</i>) @@ -4959,6 +5054,25 @@ (boolean, boolean, boolean, boolean) </dd> </dl> +<a NAME="Editor.getSpellingLanguage" ID="Editor.getSpellingLanguage"></a> +<h4>Editor.getSpellingLanguage</h4> +<b>getSpellingLanguage</b>(<i></i>) + +<p> + Public method to get the current spelling language. +</p> +<dl> +<dt>Returns:</dt> +<dd> +current spelling language +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> <a NAME="Editor.getSyntaxErrorLines" ID="Editor.getSyntaxErrorLines"></a> <h4>Editor.getSyntaxErrorLines</h4> <b>getSyntaxErrorLines</b>(<i></i>)