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

branch
eric7
changeset 8752
3c1ea4dfb691
parent 8596
d64760b2da50
--- a/eric7/Documentation/Source/eric7.QScintilla.QsciScintillaCompat.html	Mon Nov 01 16:53:32 2021 +0100
+++ b/eric7/Documentation/Source/eric7.QScintilla.QsciScintillaCompat.html	Mon Nov 01 16:58:52 2021 +0100
@@ -96,6 +96,10 @@
 <td>Protected method to encode a string depending on the current mode.</td>
 </tr>
 <tr>
+<td><a href="#QsciScintillaCompat.addCursor">addCursor</a></td>
+<td>Public method to add an additional cursor.</td>
+</tr>
+<tr>
 <td><a href="#QsciScintillaCompat.autoCompleteFromAPIs">autoCompleteFromAPIs</a></td>
 <td>Public method to resize list box after creation.</td>
 </tr>
@@ -188,6 +192,10 @@
 <td>Public method to perform a simple editor command.</td>
 </tr>
 <tr>
+<td><a href="#QsciScintillaCompat.enableMultiCursorSupport">enableMultiCursorSupport</a></td>
+<td>Public method to enable support for multi cursor editing.</td>
+</tr>
+<tr>
 <td><a href="#QsciScintillaCompat.event">event</a></td>
 <td>Public method to handle events.</td>
 </tr>
@@ -364,8 +372,8 @@
 <td>Public method to determine the line end position of the given line.</td>
 </tr>
 <tr>
-<td><a href="#QsciScintillaCompat.lineIndexFromPosition">lineIndexFromPosition</a></td>
-<td>Public method to convert an absolute position to line and index.</td>
+<td><a href="#QsciScintillaCompat.lineIndexFromPoint">lineIndexFromPoint</a></td>
+<td>Public method to convert a point to line and index.</td>
 </tr>
 <tr>
 <td><a href="#QsciScintillaCompat.linesOnScreen">linesOnScreen</a></td>
@@ -408,10 +416,6 @@
 <td>Public method to get the position before the given position taking into account multibyte characters.</td>
 </tr>
 <tr>
-<td><a href="#QsciScintillaCompat.positionFromLineIndex">positionFromLineIndex</a></td>
-<td>Public method to convert line and index to an absolute position.</td>
-</tr>
-<tr>
 <td><a href="#QsciScintillaCompat.positionFromPoint">positionFromPoint</a></td>
 <td>Public method to calculate the scintilla position from a point in the window.</td>
 </tr>
@@ -637,6 +641,24 @@
 encoded string (bytes)
 </dd>
 </dl>
+<a NAME="QsciScintillaCompat.addCursor" ID="QsciScintillaCompat.addCursor"></a>
+<h4>QsciScintillaCompat.addCursor</h4>
+<b>addCursor</b>(<i>line, index</i>)
+
+<p>
+        Public method to add an additional cursor.
+</p>
+<dl>
+
+<dt><i>line</i> (int)</dt>
+<dd>
+line number for the cursor
+</dd>
+<dt><i>index</i> (int)</dt>
+<dd>
+index number for the cursor
+</dd>
+</dl>
 <a NAME="QsciScintillaCompat.autoCompleteFromAPIs" ID="QsciScintillaCompat.autoCompleteFromAPIs"></a>
 <h4>QsciScintillaCompat.autoCompleteFromAPIs</h4>
 <b>autoCompleteFromAPIs</b>(<i></i>)
@@ -921,6 +943,13 @@
 the scintilla command to be performed (integer)
 </dd>
 </dl>
+<a NAME="QsciScintillaCompat.enableMultiCursorSupport" ID="QsciScintillaCompat.enableMultiCursorSupport"></a>
+<h4>QsciScintillaCompat.enableMultiCursorSupport</h4>
+<b>enableMultiCursorSupport</b>(<i></i>)
+
+<p>
+        Public method to enable support for multi cursor editing.
+</p>
 <a NAME="QsciScintillaCompat.event" ID="QsciScintillaCompat.event"></a>
 <h4>QsciScintillaCompat.event</h4>
 <b>event</b>(<i>evt</i>)
@@ -1751,24 +1780,30 @@
             (integer)
 </dd>
 </dl>
-<a NAME="QsciScintillaCompat.lineIndexFromPosition" ID="QsciScintillaCompat.lineIndexFromPosition"></a>
-<h4>QsciScintillaCompat.lineIndexFromPosition</h4>
-<b>lineIndexFromPosition</b>(<i>pos</i>)
+<a NAME="QsciScintillaCompat.lineIndexFromPoint" ID="QsciScintillaCompat.lineIndexFromPoint"></a>
+<h4>QsciScintillaCompat.lineIndexFromPoint</h4>
+<b>lineIndexFromPoint</b>(<i>point</i>)
 
 <p>
-        Public method to convert an absolute position to line and index.
+            Public method to convert a point to line and index.
 </p>
 <dl>
 
-<dt><i>pos</i></dt>
+<dt><i>point</i> (QPoin)</dt>
 <dd>
-absolute position in the editor (integer)
+point to be converted
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-tuple of line number (integer) and index number (integer)
+tuple containing the line number and index number
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (int, int)
 </dd>
 </dl>
 <a NAME="QsciScintillaCompat.linesOnScreen" ID="QsciScintillaCompat.linesOnScreen"></a>
@@ -1882,30 +1917,6 @@
 position before the given one (integer)
 </dd>
 </dl>
-<a NAME="QsciScintillaCompat.positionFromLineIndex" ID="QsciScintillaCompat.positionFromLineIndex"></a>
-<h4>QsciScintillaCompat.positionFromLineIndex</h4>
-<b>positionFromLineIndex</b>(<i>line, index</i>)
-
-<p>
-        Public method to convert line and index to an absolute position.
-</p>
-<dl>
-
-<dt><i>line</i></dt>
-<dd>
-line number (integer)
-</dd>
-<dt><i>index</i></dt>
-<dd>
-index number (integer)
-</dd>
-</dl>
-<dl>
-<dt>Return:</dt>
-<dd>
-absolute position in the editor (integer)
-</dd>
-</dl>
 <a NAME="QsciScintillaCompat.positionFromPoint" ID="QsciScintillaCompat.positionFromPoint"></a>
 <h4>QsciScintillaCompat.positionFromPoint</h4>
 <b>positionFromPoint</b>(<i>point</i>)

eric ide

mercurial