--- a/Documentation/Source/eric6.QScintilla.SearchReplaceWidget.html Sat May 20 14:33:00 2017 +0200 +++ b/Documentation/Source/eric6.QScintilla.SearchReplaceWidget.html Sat May 20 16:13:23 2017 +0200 @@ -90,6 +90,15 @@ <td><a href="#SearchReplaceSlidingWidget.findPrev">findPrev</a></td> <td>Public slot to find the next previous of text.</td> </tr><tr> +<td><a href="#SearchReplaceSlidingWidget.replace">replace</a></td> +<td>Public method to replace the current selection.</td> +</tr><tr> +<td><a href="#SearchReplaceSlidingWidget.replaceAll">replaceAll</a></td> +<td>Public method to replace all occurrences.</td> +</tr><tr> +<td><a href="#SearchReplaceSlidingWidget.replaceSearch">replaceSearch</a></td> +<td>Public method to replace the current selection and search again.</td> +</tr><tr> <td><a href="#SearchReplaceSlidingWidget.resizeEvent">resizeEvent</a></td> <td>Protected method to handle resize events.</td> </tr><tr> @@ -170,6 +179,21 @@ <b>findPrev</b>(<i></i>) <p> Public slot to find the next previous of text. +</p><a NAME="SearchReplaceSlidingWidget.replace" ID="SearchReplaceSlidingWidget.replace"></a> +<h4>SearchReplaceSlidingWidget.replace</h4> +<b>replace</b>(<i></i>) +<p> + Public method to replace the current selection. +</p><a NAME="SearchReplaceSlidingWidget.replaceAll" ID="SearchReplaceSlidingWidget.replaceAll"></a> +<h4>SearchReplaceSlidingWidget.replaceAll</h4> +<b>replaceAll</b>(<i></i>) +<p> + Public method to replace all occurrences. +</p><a NAME="SearchReplaceSlidingWidget.replaceSearch" ID="SearchReplaceSlidingWidget.replaceSearch"></a> +<h4>SearchReplaceSlidingWidget.replaceSearch</h4> +<b>replaceSearch</b>(<i></i>) +<p> + Public method to replace the current selection and search again. </p><a NAME="SearchReplaceSlidingWidget.resizeEvent" ID="SearchReplaceSlidingWidget.resizeEvent"></a> <h4>SearchReplaceSlidingWidget.resizeEvent</h4> <b>resizeEvent</b>(<i>evt</i>) @@ -250,6 +274,24 @@ <td><a href="#SearchReplaceWidget.__selectionBoundary">__selectionBoundary</a></td> <td>Private method to calculate the current selection boundary.</td> </tr><tr> +<td><a href="#SearchReplaceWidget.__setFindNextEnabled">__setFindNextEnabled</a></td> +<td>Private method to set the enabled state of "Find Next".</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.__setFindPrevEnabled">__setFindPrevEnabled</a></td> +<td>Private method to set the enabled state of "Find Prev".</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.__setReplaceAllEnabled">__setReplaceAllEnabled</a></td> +<td>Private method to set the enabled state of "Replace All".</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.__setReplaceAndSearchEnabled">__setReplaceAndSearchEnabled</a></td> +<td>Private method to set the enabled state of "Replace And Search".</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.__setReplaceSelectionEnabled">__setReplaceSelectionEnabled</a></td> +<td>Private method to set the enabled state of "Replace Occurrence".</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.__setShortcuts">__setShortcuts</a></td> +<td>Private method to set the local action's shortcuts to the same key sequences as in the view manager.</td> +</tr><tr> <td><a href="#SearchReplaceWidget.__showFind">__showFind</a></td> <td>Private method to display this widget in find mode.</td> </tr><tr> @@ -289,6 +331,15 @@ <td><a href="#SearchReplaceWidget.on_replaceSearchButton_clicked">on_replaceSearchButton_clicked</a></td> <td>Private slot to replace one occurrence of text and search for the next one.</td> </tr><tr> +<td><a href="#SearchReplaceWidget.replace">replace</a></td> +<td>Public method to replace the current selection.</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.replaceAll">replaceAll</a></td> +<td>Public method to replace all occurrences.</td> +</tr><tr> +<td><a href="#SearchReplaceWidget.replaceSearch">replaceSearch</a></td> +<td>Public method to replace the current selection and search again.</td> +</tr><tr> <td><a href="#SearchReplaceWidget.selectionChanged">selectionChanged</a></td> <td>Public slot tracking changes of selected text.</td> </tr><tr> @@ -385,7 +436,63 @@ tuple of start line and index and end line and index (tuple of four integer) </dd> -</dl><a NAME="SearchReplaceWidget.__showFind" ID="SearchReplaceWidget.__showFind"></a> +</dl><a NAME="SearchReplaceWidget.__setFindNextEnabled" ID="SearchReplaceWidget.__setFindNextEnabled"></a> +<h4>SearchReplaceWidget.__setFindNextEnabled</h4> +<b>__setFindNextEnabled</b>(<i>enable</i>) +<p> + Private method to set the enabled state of "Find Next". +</p><dl> +<dt><i>enable</i> (bool)</dt> +<dd> +flag indicating the enable state to be set +</dd> +</dl><a NAME="SearchReplaceWidget.__setFindPrevEnabled" ID="SearchReplaceWidget.__setFindPrevEnabled"></a> +<h4>SearchReplaceWidget.__setFindPrevEnabled</h4> +<b>__setFindPrevEnabled</b>(<i>enable</i>) +<p> + Private method to set the enabled state of "Find Prev". +</p><dl> +<dt><i>enable</i> (bool)</dt> +<dd> +flag indicating the enable state to be set +</dd> +</dl><a NAME="SearchReplaceWidget.__setReplaceAllEnabled" ID="SearchReplaceWidget.__setReplaceAllEnabled"></a> +<h4>SearchReplaceWidget.__setReplaceAllEnabled</h4> +<b>__setReplaceAllEnabled</b>(<i>enable</i>) +<p> + Private method to set the enabled state of "Replace All". +</p><dl> +<dt><i>enable</i> (bool)</dt> +<dd> +flag indicating the enable state to be set +</dd> +</dl><a NAME="SearchReplaceWidget.__setReplaceAndSearchEnabled" ID="SearchReplaceWidget.__setReplaceAndSearchEnabled"></a> +<h4>SearchReplaceWidget.__setReplaceAndSearchEnabled</h4> +<b>__setReplaceAndSearchEnabled</b>(<i>enable</i>) +<p> + Private method to set the enabled state of "Replace And Search". +</p><dl> +<dt><i>enable</i> (bool)</dt> +<dd> +flag indicating the enable state to be set +</dd> +</dl><a NAME="SearchReplaceWidget.__setReplaceSelectionEnabled" ID="SearchReplaceWidget.__setReplaceSelectionEnabled"></a> +<h4>SearchReplaceWidget.__setReplaceSelectionEnabled</h4> +<b>__setReplaceSelectionEnabled</b>(<i>enable</i>) +<p> + Private method to set the enabled state of "Replace Occurrence". +</p><dl> +<dt><i>enable</i> (bool)</dt> +<dd> +flag indicating the enable state to be set +</dd> +</dl><a NAME="SearchReplaceWidget.__setShortcuts" ID="SearchReplaceWidget.__setShortcuts"></a> +<h4>SearchReplaceWidget.__setShortcuts</h4> +<b>__setShortcuts</b>(<i></i>) +<p> + Private method to set the local action's shortcuts to the same key + sequences as in the view manager. +</p><a NAME="SearchReplaceWidget.__showFind" ID="SearchReplaceWidget.__showFind"></a> <h4>SearchReplaceWidget.__showFind</h4> <b>__showFind</b>(<i>text=''</i>) <p> @@ -476,6 +583,21 @@ <p> Private slot to replace one occurrence of text and search for the next one. +</p><a NAME="SearchReplaceWidget.replace" ID="SearchReplaceWidget.replace"></a> +<h4>SearchReplaceWidget.replace</h4> +<b>replace</b>(<i></i>) +<p> + Public method to replace the current selection. +</p><a NAME="SearchReplaceWidget.replaceAll" ID="SearchReplaceWidget.replaceAll"></a> +<h4>SearchReplaceWidget.replaceAll</h4> +<b>replaceAll</b>(<i></i>) +<p> + Public method to replace all occurrences. +</p><a NAME="SearchReplaceWidget.replaceSearch" ID="SearchReplaceWidget.replaceSearch"></a> +<h4>SearchReplaceWidget.replaceSearch</h4> +<b>replaceSearch</b>(<i></i>) +<p> + Public method to replace the current selection and search again. </p><a NAME="SearchReplaceWidget.selectionChanged" ID="SearchReplaceWidget.selectionChanged"></a> <h4>SearchReplaceWidget.selectionChanged</h4> <b>selectionChanged</b>(<i></i>)