--- a/src/eric7/Documentation/Source/eric7.Plugins.PluginSyntaxChecker.html Fri Nov 24 14:59:26 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.PluginSyntaxChecker.html Sat Nov 25 18:19:21 2023 +0100 @@ -126,9 +126,9 @@ </p> <dl> -<dt><i>ui</i></dt> +<dt><i>ui</i> (UI.UserInterface)</dt> <dd> -reference to the user interface object (UI.UserInterface) +reference to the user interface object </dd> </dl> <a NAME="SyntaxCheckerPlugin.__editorClosed" ID="SyntaxCheckerPlugin.__editorClosed"></a> @@ -140,9 +140,9 @@ </p> <dl> -<dt><i>editor</i></dt> +<dt><i>editor</i> (QScintilla.Editor)</dt> <dd> -reference to the editor (QScintilla.Editor) +reference to the editor </dd> </dl> <a NAME="SyntaxCheckerPlugin.__editorOpened" ID="SyntaxCheckerPlugin.__editorOpened"></a> @@ -154,9 +154,9 @@ </p> <dl> -<dt><i>editor</i></dt> +<dt><i>editor</i> (QScintilla.Editor)</dt> <dd> -reference to the new editor (QScintilla.Editor) +reference to the new editor </dd> </dl> <a NAME="SyntaxCheckerPlugin.__editorShowMenu" ID="SyntaxCheckerPlugin.__editorShowMenu"></a> @@ -169,15 +169,15 @@ </p> <dl> -<dt><i>menuName</i></dt> +<dt><i>menuName</i> (str)</dt> <dd> -name of the menu to be shown (string) +name of the menu to be shown </dd> -<dt><i>menu</i></dt> +<dt><i>menu</i> (QMenu)</dt> <dd> -reference to the menu (QMenu) +reference to the menu </dd> -<dt><i>editor</i></dt> +<dt><i>editor</i> (QScintilla.Editor)</dt> <dd> reference to the editor </dd> @@ -227,13 +227,13 @@ </p> <dl> -<dt><i>menuName</i></dt> +<dt><i>menuName</i> (str)</dt> <dd> -name of the menu to be shown (string) +name of the menu to be shown </dd> -<dt><i>menu</i></dt> +<dt><i>menu</i> (QMenu)</dt> <dd> -reference to the menu (QMenu) +reference to the menu </dd> </dl> <a NAME="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck" ID="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck"></a> @@ -254,13 +254,13 @@ </p> <dl> -<dt><i>menuName</i></dt> +<dt><i>menuName</i> (str)</dt> <dd> -name of the menu to be shown (string) +name of the menu to be shown </dd> -<dt><i>menu</i></dt> +<dt><i>menu</i> (QMenu)</dt> <dd> -reference to the menu (QMenu) +reference to the menu </dd> </dl> <a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> @@ -284,16 +284,18 @@ </p> <dl> -<dt><i>fn</i></dt> +<dt><i>fn</i> (str)</dt> <dd> -filename of the checked file (str) +filename of the checked file </dd> -<dt><i>problems</i></dt> +<dt><i>problems</i> (list of dict)</dt> <dd> -dictionary with the keys 'error' and 'warnings' which - hold a list containing details about the error/ warnings - (file name, line number, column, codestring (only at syntax - errors), the message, a list with arguments for the message) +list of dictionaries with the keys 'error', 'py_warnings' and + 'warnings' which contain a tuple with details about the syntax error or a + list of tuples with details about Python warnings and PyFlakes warnings. + Each tuple contains the file name, line number, column, code string (only + for syntax errors), the message and an optional list with arguments for + the message. </dd> </dl> <a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> @@ -306,7 +308,13 @@ <dl> <dt>Return:</dt> <dd> -tuple of None and activation status (boolean) +tuple of None and activation status +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="SyntaxCheckerPlugin.deactivate" ID="SyntaxCheckerPlugin.deactivate"></a>