--- a/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Sat Mar 16 20:12:03 2019 +0100 +++ b/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Sat Mar 16 20:14:21 2019 +0100 @@ -178,6 +178,9 @@ <td><a href="#QsciScintillaCompat.extendSelectionWordRight">extendSelectionWordRight</a></td> <td>Public method to extend the selection one word to the right.</td> </tr><tr> +<td><a href="#QsciScintillaCompat.findFirst">findFirst</a></td> +<td>Public method to search in the current editor text.</td> +</tr><tr> <td><a href="#QsciScintillaCompat.findFirstTarget">findFirstTarget</a></td> <td>Public method to search in a specified range of text without setting the selection.</td> </tr><tr> @@ -385,6 +388,9 @@ <td><a href="#QsciScintillaCompat.setVirtualSpaceOptions">setVirtualSpaceOptions</a></td> <td>Public method to set the virtual space usage options.</td> </tr><tr> +<td><a href="#QsciScintillaCompat.setWrapStartIndent">setWrapStartIndent</a></td> +<td>Public method to set a the amount of characters wrapped sublines shall be indented.</td> +</tr><tr> <td><a href="#QsciScintillaCompat.showFindIndicator">showFindIndicator</a></td> <td>Public method to show the find indicator for the given range.</td> </tr><tr> @@ -757,49 +763,109 @@ <b>extendSelectionWordRight</b>(<i></i>) <p> Public method to extend the selection one word to the right. -</p><a NAME="QsciScintillaCompat.findFirstTarget" ID="QsciScintillaCompat.findFirstTarget"></a> +</p><a NAME="QsciScintillaCompat.findFirst" ID="QsciScintillaCompat.findFirst"></a> +<h4>QsciScintillaCompat.findFirst</h4> +<b>findFirst</b>(<i>expression, regexp, caseSensitive, word, wrap, forward=True, line=-1, index=-1, show=True, posix=False, cxx11=False</i>) +<p> + Public method to search in the current editor text. +</p><dl> +<dt><i>expression</i> (str)</dt> +<dd> +search expression +</dd><dt><i>regexp</i> (bool)</dt> +<dd> +flag indicating a regular expression +</dd><dt><i>caseSensitive</i> (bool)</dt> +<dd> +flag indicating a case sensitive search +</dd><dt><i>word</i> (bool)</dt> +<dd> +flag indicating a word only search +</dd><dt><i>wrap</i> (bool)</dt> +<dd> +flag indicating to warp around +</dd><dt><i>forward</i> (bool)</dt> +<dd> +flag indicating the search direction +</dd><dt><i>line</i> (int)</dt> +<dd> +line to start the search on +</dd><dt><i>index</i> (int)</dt> +<dd> +index to start the search on +</dd><dt><i>show</i> (bool)</dt> +<dd> +flag indicating to set the selection to the found + expression +</dd><dt><i>posix</i> (bool)</dt> +<dd> +flag indicating the POSIX regular expression search mode +</dd><dt><i>cxx11</i> (bool)</dt> +<dd> +flag indicating the CXX11 regular expression search mode +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating a successful search +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="QsciScintillaCompat.findFirstTarget" ID="QsciScintillaCompat.findFirstTarget"></a> <h4>QsciScintillaCompat.findFirstTarget</h4> -<b>findFirstTarget</b>(<i>expr_, re_, cs_, wo_, begline=-1, begindex=-1, endline=-1, endindex=-1, ws_=False</i>) +<b>findFirstTarget</b>(<i>expr_, re_, cs_, wo_, begline=-1, begindex=-1, endline=-1, endindex=-1, ws_=False, posix=False, cxx11=False</i>) <p> Public method to search in a specified range of text without setting the selection. </p><dl> -<dt><i>expr_</i></dt> +<dt><i>expr_</i> (str)</dt> <dd> -search expression (string) -</dd><dt><i>re_</i></dt> +search expression +</dd><dt><i>re_</i> (bool)</dt> <dd> -flag indicating a regular expression (boolean) -</dd><dt><i>cs_</i></dt> +flag indicating a regular expression +</dd><dt><i>cs_</i> (bool)</dt> <dd> -flag indicating a case sensitive search (boolean) -</dd><dt><i>wo_</i></dt> +flag indicating a case sensitive search +</dd><dt><i>wo_</i> (bool)</dt> <dd> -flag indicating a word only search (boolean) -</dd><dt><i>begline=</i></dt> +flag indicating a word only search +</dd><dt><i>begline</i> (int)</dt> <dd> line number to start from (-1 to indicate current - position) (integer) -</dd><dt><i>begindex=</i></dt> + position) +</dd><dt><i>begindex</i> (int)</dt> <dd> -index to start from (-1 to indicate current - position) (integer) -</dd><dt><i>endline=</i></dt> +index to start from (-1 to indicate current position) +</dd><dt><i>endline</i> (int)</dt> <dd> -line number to stop at (-1 to indicate end of - document) (integer) -</dd><dt><i>endindex=</i></dt> +line number to stop at (-1 to indicate end of document) +</dd><dt><i>endindex</i> (int)</dt> <dd> index number to stop at (-1 to indicate end of - document) (integer) -</dd><dt><i>ws_=</i></dt> + document) +</dd><dt><i>ws_</i> (bool)</dt> <dd> flag indicating a word start search (boolean) +</dd><dt><i>posix</i> (bool)</dt> +<dd> + +</dd><dt><i>cxx11</i> (bool)</dt> +<dd> + </dd> </dl><dl> <dt>Returns:</dt> <dd> -flag indicating a successful search (boolean) +flag indicating a successful search +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl><a NAME="QsciScintillaCompat.findNextTarget" ID="QsciScintillaCompat.findNextTarget"></a> <h4>QsciScintillaCompat.findNextTarget</h4> @@ -1705,6 +1771,17 @@ <dd> usage options to set (integer, 0 to 3) </dd> +</dl><a NAME="QsciScintillaCompat.setWrapStartIndent" ID="QsciScintillaCompat.setWrapStartIndent"></a> +<h4>QsciScintillaCompat.setWrapStartIndent</h4> +<b>setWrapStartIndent</b>(<i>indent</i>) +<p> + Public method to set a the amount of characters wrapped sublines + shall be indented. +</p><dl> +<dt><i>indent</i> (int)</dt> +<dd> +amount of characters to indent +</dd> </dl><a NAME="QsciScintillaCompat.showFindIndicator" ID="QsciScintillaCompat.showFindIndicator"></a> <h4>QsciScintillaCompat.showFindIndicator</h4> <b>showFindIndicator</b>(<i>sline, sindex, eline, eindex</i>)