src/eric7/Documentation/Source/eric7.QScintilla.QsciScintillaCompat.html

branch
eric7
changeset 9977
a5acf678c367
parent 9503
ae9232bf4854
child 10229
e50bbf250343
--- a/src/eric7/Documentation/Source/eric7.QScintilla.QsciScintillaCompat.html	Wed Apr 12 13:10:09 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.QScintilla.QsciScintillaCompat.html	Thu Apr 13 19:33:10 2023 +0200
@@ -284,10 +284,18 @@
 <td>Public method to determine the point of the cursor.</td>
 </tr>
 <tr>
+<td><a href="#QsciScintillaCompat.getIndicator">getIndicator</a></td>
+<td>Public method to get the start and end of the indicator at the given position.</td>
+</tr>
+<tr>
 <td><a href="#QsciScintillaCompat.getIndicatorEndPos">getIndicatorEndPos</a></td>
 <td>Public method to get the end position of an indicator at a position.</td>
 </tr>
 <tr>
+<td><a href="#QsciScintillaCompat.getIndicatorRange">getIndicatorRange</a></td>
+<td>Public method to get the range of the indicator at the given position.</td>
+</tr>
+<tr>
 <td><a href="#QsciScintillaCompat.getIndicatorStartPos">getIndicatorStartPos</a></td>
 <td>Public method to get the start position of an indicator at a position.</td>
 </tr>
@@ -1347,6 +1355,39 @@
 QPoint
 </dd>
 </dl>
+<a NAME="QsciScintillaCompat.getIndicator" ID="QsciScintillaCompat.getIndicator"></a>
+<h4>QsciScintillaCompat.getIndicator</h4>
+<b>getIndicator</b>(<i>indicator, pos=None</i>)
+
+<p>
+        Public method to get the start and end of the indicator at the given position.
+</p>
+<p>
+        If the position is given as 'None', the current cursor position is used.
+</p>
+<dl>
+
+<dt><i>indicator</i> (int)</dt>
+<dd>
+ID of the indicator
+</dd>
+<dt><i>pos</i> (int (optional))</dt>
+<dd>
+position within the indicator (defaults to None)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple containing the start line and index and the end line and index
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (int, int, int, int)
+</dd>
+</dl>
 <a NAME="QsciScintillaCompat.getIndicatorEndPos" ID="QsciScintillaCompat.getIndicatorEndPos"></a>
 <h4>QsciScintillaCompat.getIndicatorEndPos</h4>
 <b>getIndicatorEndPos</b>(<i>indicator, pos</i>)
@@ -1371,6 +1412,39 @@
 end position of the indicator (integer)
 </dd>
 </dl>
+<a NAME="QsciScintillaCompat.getIndicatorRange" ID="QsciScintillaCompat.getIndicatorRange"></a>
+<h4>QsciScintillaCompat.getIndicatorRange</h4>
+<b>getIndicatorRange</b>(<i>indicator, pos=None</i>)
+
+<p>
+        Public method to get the range of the indicator at the given position.
+</p>
+<p>
+        If the position is given as 'None', the current cursor position is used.
+</p>
+<dl>
+
+<dt><i>indicator</i> (int)</dt>
+<dd>
+ID of the indicator
+</dd>
+<dt><i>pos</i> (int (optional))</dt>
+<dd>
+position within the indicator (defaults to None)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+start position and length of the indicator
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (int, int)
+</dd>
+</dl>
 <a NAME="QsciScintillaCompat.getIndicatorStartPos" ID="QsciScintillaCompat.getIndicatorStartPos"></a>
 <h4>QsciScintillaCompat.getIndicatorStartPos</h4>
 <b>getIndicatorStartPos</b>(<i>indicator, pos</i>)

eric ide

mercurial