--- a/src/eric7/Documentation/Source/eric7.QScintilla.MiniEditor.html Mon Mar 27 22:05:05 2023 +0200 +++ b/src/eric7/Documentation/Source/eric7.QScintilla.MiniEditor.html Tue Mar 28 10:14:23 2023 +0200 @@ -409,6 +409,10 @@ <td>Public method to clear all search indicators.</td> </tr> <tr> +<td><a href="#MiniEditor.clearSearchSelectionHighlight">clearSearchSelectionHighlight</a></td> +<td>Public method to clear all highlights.</td> +</tr> +<tr> <td><a href="#MiniEditor.closeEvent">closeEvent</a></td> <td>Protected method to handle the close event.</td> </tr> @@ -429,6 +433,10 @@ <td>Public slot to jump to the beginning of a line.</td> </tr> <tr> +<td><a href="#MiniEditor.highlightSearchSelection">highlightSearchSelection</a></td> +<td>Public method to set a highlight for the selection at the start of a search.</td> +</tr> +<tr> <td><a href="#MiniEditor.setLanguage">setLanguage</a></td> <td>Public method to set a lexer language.</td> </tr> @@ -1405,6 +1413,13 @@ <p> Public method to clear all search indicators. </p> +<a NAME="MiniEditor.clearSearchSelectionHighlight" ID="MiniEditor.clearSearchSelectionHighlight"></a> +<h4>MiniEditor.clearSearchSelectionHighlight</h4> +<b>clearSearchSelectionHighlight</b>(<i></i>) + +<p> + Public method to clear all highlights. +</p> <a NAME="MiniEditor.closeEvent" ID="MiniEditor.closeEvent"></a> <h4>MiniEditor.closeEvent</h4> <b>closeEvent</b>(<i>event</i>) @@ -1502,6 +1517,32 @@ position in line to go to </dd> </dl> +<a NAME="MiniEditor.highlightSearchSelection" ID="MiniEditor.highlightSearchSelection"></a> +<h4>MiniEditor.highlightSearchSelection</h4> +<b>highlightSearchSelection</b>(<i>startLine, startIndex, endLine, endIndex</i>) + +<p> + Public method to set a highlight for the selection at the start of a search. +</p> +<dl> + +<dt><i>startLine</i> (int)</dt> +<dd> +line of the selection start +</dd> +<dt><i>startIndex</i> (int)</dt> +<dd> +index of the selection start +</dd> +<dt><i>endLine</i> (int)</dt> +<dd> +line of the selection end +</dd> +<dt><i>endIndex</i> (int)</dt> +<dd> +index of the selection end +</dd> +</dl> <a NAME="MiniEditor.setLanguage" ID="MiniEditor.setLanguage"></a> <h4>MiniEditor.setLanguage</h4> <b>setLanguage</b>(<i>filename, initTextDisplay=True, pyname=""</i>)