diff -r 631ea6dc71de -r ab23dbabd491 eric6/Documentation/Source/eric6.ViewManager.ViewManager.html --- a/eric6/Documentation/Source/eric6.ViewManager.ViewManager.html Mon Jun 14 18:25:00 2021 +0200 +++ b/eric6/Documentation/Source/eric6.ViewManager.ViewManager.html Wed Jun 16 19:06:47 2021 +0200 @@ -845,7 +845,7 @@ </tr> <tr> <td><a href="#ViewManager.closeAllWindows">closeAllWindows</a></td> -<td>Public method to close all editor windows via file menu.</td> +<td>Public method to close all editor windows.</td> </tr> <tr> <td><a href="#ViewManager.closeCurrentWindow">closeCurrentWindow</a></td> @@ -944,6 +944,10 @@ <td>Public slot to handle the resetUI signal.</td> </tr> <tr> +<td><a href="#ViewManager.hasDirtyEditor">hasDirtyEditor</a></td> +<td>Public method to ask, if any of the open editors contains unsaved changes.</td> +</tr> +<tr> <td><a href="#ViewManager.initActions">initActions</a></td> <td>Public method defining the user interface actions.</td> </tr> @@ -2987,11 +2991,18 @@ </dl> <a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a> <h4>ViewManager.closeAllWindows</h4> -<b>closeAllWindows</b>(<i></i>) - -<p> - Public method to close all editor windows via file menu. -</p> +<b>closeAllWindows</b>(<i>ignoreDirty=False</i>) + +<p> + Public method to close all editor windows. +</p> +<dl> + +<dt><i>ignoreDirty</i> (bool)</dt> +<dd> +flag indicating to ignore the 'dirty' status +</dd> +</dl> <a NAME="ViewManager.closeCurrentWindow" ID="ViewManager.closeCurrentWindow"></a> <h4>ViewManager.closeCurrentWindow</h4> <b>closeCurrentWindow</b>(<i></i>) @@ -3423,6 +3434,26 @@ <p> Public slot to handle the resetUI signal. </p> +<a NAME="ViewManager.hasDirtyEditor" ID="ViewManager.hasDirtyEditor"></a> +<h4>ViewManager.hasDirtyEditor</h4> +<b>hasDirtyEditor</b>(<i></i>) + +<p> + Public method to ask, if any of the open editors contains unsaved + changes. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating at least one editor has unsaved changes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="ViewManager.initActions" ID="ViewManager.initActions"></a> <h4>ViewManager.initActions</h4> <b>initActions</b>(<i></i>)