--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Fri Feb 24 18:36:43 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Sat Feb 25 19:18:07 2023 +0100 @@ -188,10 +188,6 @@ <td>Private slot to open the documentation URL for the selected device.</td> </tr> <tr> -<td><a href="#MicroPythonWidget.__showError">__showError</a></td> -<td>Private method to show some error message.</td> -</tr> -<tr> <td><a href="#MicroPythonWidget.__showImplementation">__showImplementation</a></td> <td>Private slot to show some implementation related information.</td> </tr> @@ -232,6 +228,10 @@ <td>Public method to determine the port path of the selected device.</td> </tr> <tr> +<td><a href="#MicroPythonWidget.getDevice">getDevice</a></td> +<td>Public method to get a reference to the current device.</td> +</tr> +<tr> <td><a href="#MicroPythonWidget.getDeviceWorkspace">getDeviceWorkspace</a></td> <td>Public method to get the workspace directory of the device.</td> </tr> @@ -283,6 +283,10 @@ <td><a href="#MicroPythonWidget.setActionButtons">setActionButtons</a></td> <td>Public method to set the enabled state of the various action buttons.</td> </tr> +<tr> +<td><a href="#MicroPythonWidget.showError">showError</a></td> +<td>Public method to show some error message.</td> +</tr> </table> <h3>Static Methods</h3> @@ -686,24 +690,6 @@ <p> Private slot to open the documentation URL for the selected device. </p> -<a NAME="MicroPythonWidget.__showError" ID="MicroPythonWidget.__showError"></a> -<h4>MicroPythonWidget.__showError</h4> -<b>__showError</b>(<i>method, error</i>) - -<p> - Private method to show some error message. -</p> -<dl> - -<dt><i>method</i> (str)</dt> -<dd> -name of the method the error occured in -</dd> -<dt><i>error</i> (str)</dt> -<dd> -error message -</dd> -</dl> <a NAME="MicroPythonWidget.__showImplementation" ID="MicroPythonWidget.__showImplementation"></a> <h4>MicroPythonWidget.__showImplementation</h4> <b>__showImplementation</b>(<i></i>) @@ -854,6 +840,25 @@ str </dd> </dl> +<a NAME="MicroPythonWidget.getDevice" ID="MicroPythonWidget.getDevice"></a> +<h4>MicroPythonWidget.getDevice</h4> +<b>getDevice</b>(<i></i>) + +<p> + Public method to get a reference to the current device. +</p> +<dl> +<dt>Return:</dt> +<dd> +reference to the current device +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +BaseDevice +</dd> +</dl> <a NAME="MicroPythonWidget.getDeviceWorkspace" ID="MicroPythonWidget.getDeviceWorkspace"></a> <h4>MicroPythonWidget.getDeviceWorkspace</h4> <b>getDeviceWorkspace</b>(<i></i>) @@ -1041,6 +1046,24 @@ are 'run', 'repl', 'files', 'chart', 'open', 'save' </dd> </dl> +<a NAME="MicroPythonWidget.showError" ID="MicroPythonWidget.showError"></a> +<h4>MicroPythonWidget.showError</h4> +<b>showError</b>(<i>method, error</i>) + +<p> + Public method to show some error message. +</p> +<dl> + +<dt><i>method</i> (str)</dt> +<dd> +name of the method the error occured in +</dd> +<dt><i>error</i> (str)</dt> +<dd> +error message +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file