--- a/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Wed Dec 20 12:27:43 2017 +0100 +++ b/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html Fri Dec 22 16:07:49 2017 +0100 @@ -196,6 +196,9 @@ <td><a href="#QsciScintillaCompat.getCursorFlashTime">getCursorFlashTime</a></td> <td>Public method to get the flash (blink) time of the cursor in milliseconds.</td> </tr><tr> +<td><a href="#QsciScintillaCompat.getDocLineFromVisibleLine">getDocLineFromVisibleLine</a></td> +<td>Public method to convert a visible line number to a document line number (i.e.</td> +</tr><tr> <td><a href="#QsciScintillaCompat.getEndStyled">getEndStyled</a></td> <td>Public method to get the last styled position.</td> </tr><tr> @@ -229,6 +232,9 @@ <td><a href="#QsciScintillaCompat.getSelections">getSelections</a></td> <td>Public method to get the start and end coordinates of all active selections.</td> </tr><tr> +<td><a href="#QsciScintillaCompat.getVisibleLineFromDocLine">getVisibleLineFromDocLine</a></td> +<td>Public method to convert a document line number to a visible line number (i.e.</td> +</tr><tr> <td><a href="#QsciScintillaCompat.getZoom">getZoom</a></td> <td>Public method used to retrieve the current zoom factor.</td> </tr><tr> @@ -875,6 +881,27 @@ <dd> flash time of the cursor in milliseconds (integer) </dd> +</dl><a NAME="QsciScintillaCompat.getDocLineFromVisibleLine" ID="QsciScintillaCompat.getDocLineFromVisibleLine"></a> +<h4>QsciScintillaCompat.getDocLineFromVisibleLine</h4> +<b>getDocLineFromVisibleLine</b>(<i>displayLine</i>) +<p> + Public method to convert a visible line number to a document line + number (i.e. respect folded lines and annotations). +</p><dl> +<dt><i>displayLine</i> (int)</dt> +<dd> +display line number to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +document line number +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +int +</dd> </dl><a NAME="QsciScintillaCompat.getEndStyled" ID="QsciScintillaCompat.getEndStyled"></a> <h4>QsciScintillaCompat.getEndStyled</h4> <b>getEndStyled</b>(<i></i>) @@ -1012,6 +1039,27 @@ list of tuples with start line and index and end line and index of each active selection (list of tuples of four int) </dd> +</dl><a NAME="QsciScintillaCompat.getVisibleLineFromDocLine" ID="QsciScintillaCompat.getVisibleLineFromDocLine"></a> +<h4>QsciScintillaCompat.getVisibleLineFromDocLine</h4> +<b>getVisibleLineFromDocLine</b>(<i>docLine</i>) +<p> + Public method to convert a document line number to a visible line + number (i.e. respect folded lines and annotations). +</p><dl> +<dt><i>docLine</i> (int)</dt> +<dd> +document line number to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +visible line number +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +int +</dd> </dl><a NAME="QsciScintillaCompat.getZoom" ID="QsciScintillaCompat.getZoom"></a> <h4>QsciScintillaCompat.getZoom</h4> <b>getZoom</b>(<i></i>)