Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html

branch
maintenance
changeset 6050
25a4ddb25ca4
parent 6038
b9d2063e610e
child 6059
8f7c66c53c27
--- a/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html	Sat Dec 02 12:40:52 2017 +0100
+++ b/Documentation/Source/eric6.QScintilla.QsciScintillaCompat.html	Sun Dec 31 18:27:40 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>
@@ -358,9 +364,6 @@
 <td><a href="#QsciScintillaCompat.setRectangularSelection">setRectangularSelection</a></td>
 <td>Public method to set a rectangular selection.</td>
 </tr><tr>
-<td><a href="#QsciScintillaCompat.setStyleBits">setStyleBits</a></td>
-<td>Public method to set the number of bits to be used for styling.</td>
-</tr><tr>
 <td><a href="#QsciScintillaCompat.setStyling">setStyling</a></td>
 <td>Public method to style some text.</td>
 </tr><tr>
@@ -875,6 +878,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 +1036,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>)
@@ -1578,16 +1623,6 @@
 <dd>
 index number of the end of the selection (int)
 </dd>
-</dl><a NAME="QsciScintillaCompat.setStyleBits" ID="QsciScintillaCompat.setStyleBits"></a>
-<h4>QsciScintillaCompat.setStyleBits</h4>
-<b>setStyleBits</b>(<i>bits</i>)
-<p>
-        Public method to set the number of bits to be used for styling.
-</p><dl>
-<dt><i>bits</i></dt>
-<dd>
-number of style bits (integer)
-</dd>
 </dl><a NAME="QsciScintillaCompat.setStyling" ID="QsciScintillaCompat.setStyling"></a>
 <h4>QsciScintillaCompat.setStyling</h4>
 <b>setStyling</b>(<i>length, style</i>)

eric ide

mercurial