Documentation/Source/eric6.QScintilla.Editor.html

changeset 6934
eae7d1d9cc7b
parent 6814
7640753ca46e
--- a/Documentation/Source/eric6.QScintilla.Editor.html	Mon Apr 08 19:15:58 2019 +0200
+++ b/Documentation/Source/eric6.QScintilla.Editor.html	Mon Apr 08 19:16:42 2019 +0200
@@ -106,6 +106,10 @@
 <dd>
 emitted when
         the modification status has changed
+</dd><dt>mouseDoubleClick(position, buttons)</dt>
+<dd>
+emitted to signal a mouse
+        double click somewhere in the editor area
 </dd><dt>redoAvailable(bool)</dt>
 <dd>
 emitted to signal the redo availability
@@ -705,6 +709,9 @@
 <td><a href="#Editor.checkSyntax">checkSyntax</a></td>
 <td>Public method to perform an automatic syntax check of the file.</td>
 </tr><tr>
+<td><a href="#Editor.clearAllHighlights">clearAllHighlights</a></td>
+<td>Public method to clear all highlights.</td>
+</tr><tr>
 <td><a href="#Editor.clearBookmarks">clearBookmarks</a></td>
 <td>Public slot to handle the 'Clear all bookmarks' context menu action.</td>
 </tr><tr>
@@ -714,6 +721,9 @@
 <td><a href="#Editor.clearFlakesWarnings">clearFlakesWarnings</a></td>
 <td>Public slot to clear all pyflakes warnings.</td>
 </tr><tr>
+<td><a href="#Editor.clearHighlight">clearHighlight</a></td>
+<td>Public method to clear a text highlight.</td>
+</tr><tr>
 <td><a href="#Editor.clearSearchIndicators">clearSearchIndicators</a></td>
 <td>Public method to clear all search indicators.</td>
 </tr><tr>
@@ -1029,6 +1039,9 @@
 <td><a href="#Editor.menuToggleBreakpoint">menuToggleBreakpoint</a></td>
 <td>Public slot to handle the 'Toggle breakpoint' context menu action.</td>
 </tr><tr>
+<td><a href="#Editor.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td>
+<td>Protected method to handle mouse double click events.</td>
+</tr><tr>
 <td><a href="#Editor.mousePressEvent">mousePressEvent</a></td>
 <td>Protected method to handle the mouse press event.</td>
 </tr><tr>
@@ -1152,6 +1165,9 @@
 <td><a href="#Editor.setAutoSpellChecking">setAutoSpellChecking</a></td>
 <td>Public method to set the automatic spell checking.</td>
 </tr><tr>
+<td><a href="#Editor.setHighlight">setHighlight</a></td>
+<td>Public method to set a text highlight.</td>
+</tr><tr>
 <td><a href="#Editor.setLanguage">setLanguage</a></td>
 <td>Public method to set a lexer language.</td>
 </tr><tr>
@@ -2950,6 +2966,11 @@
 <b>checkSyntax</b>(<i></i>)
 <p>
         Public method to perform an automatic syntax check of the file.
+</p><a NAME="Editor.clearAllHighlights" ID="Editor.clearAllHighlights"></a>
+<h4>Editor.clearAllHighlights</h4>
+<b>clearAllHighlights</b>(<i></i>)
+<p>
+        Public method to clear all highlights.
 </p><a NAME="Editor.clearBookmarks" ID="Editor.clearBookmarks"></a>
 <h4>Editor.clearBookmarks</h4>
 <b>clearBookmarks</b>(<i></i>)
@@ -2973,7 +2994,26 @@
 <b>clearFlakesWarnings</b>(<i></i>)
 <p>
         Public slot to clear all pyflakes warnings.
-</p><a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a>
+</p><a NAME="Editor.clearHighlight" ID="Editor.clearHighlight"></a>
+<h4>Editor.clearHighlight</h4>
+<b>clearHighlight</b>(<i>startLine, startIndex, endLine, endIndex</i>)
+<p>
+        Public method to clear a text highlight.
+</p><dl>
+<dt><i>startLine</i> (int)</dt>
+<dd>
+line of the highlight start
+</dd><dt><i>startIndex</i> (int)</dt>
+<dd>
+index of the highlight start
+</dd><dt><i>endLine</i> (int)</dt>
+<dd>
+line of the highlight end
+</dd><dt><i>endIndex</i> (int)</dt>
+<dd>
+index of the highlight end
+</dd>
+</dl><a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a>
 <h4>Editor.clearSearchIndicators</h4>
 <b>clearSearchIndicators</b>(<i></i>)
 <p>
@@ -4100,7 +4140,17 @@
 <b>menuToggleBreakpoint</b>(<i></i>)
 <p>
         Public slot to handle the 'Toggle breakpoint' context menu action.
-</p><a NAME="Editor.mousePressEvent" ID="Editor.mousePressEvent"></a>
+</p><a NAME="Editor.mouseDoubleClickEvent" ID="Editor.mouseDoubleClickEvent"></a>
+<h4>Editor.mouseDoubleClickEvent</h4>
+<b>mouseDoubleClickEvent</b>(<i>evt</i>)
+<p>
+        Protected method to handle mouse double click events.
+</p><dl>
+<dt><i>evt</i> (QMouseEvent)</dt>
+<dd>
+reference to the mouse event
+</dd>
+</dl><a NAME="Editor.mousePressEvent" ID="Editor.mousePressEvent"></a>
 <h4>Editor.mousePressEvent</h4>
 <b>mousePressEvent</b>(<i>event</i>)
 <p>
@@ -4430,7 +4480,26 @@
 <b>setAutoSpellChecking</b>(<i></i>)
 <p>
         Public method to set the automatic spell checking.
-</p><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a>
+</p><a NAME="Editor.setHighlight" ID="Editor.setHighlight"></a>
+<h4>Editor.setHighlight</h4>
+<b>setHighlight</b>(<i>startLine, startIndex, endLine, endIndex</i>)
+<p>
+        Public method to set a text highlight.
+</p><dl>
+<dt><i>startLine</i> (int)</dt>
+<dd>
+line of the highlight start
+</dd><dt><i>startIndex</i> (int)</dt>
+<dd>
+index of the highlight start
+</dd><dt><i>endLine</i> (int)</dt>
+<dd>
+line of the highlight end
+</dd><dt><i>endIndex</i> (int)</dt>
+<dd>
+index of the highlight end
+</dd>
+</dl><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a>
 <h4>Editor.setLanguage</h4>
 <b>setLanguage</b>(<i>filename, initTextDisplay=True, propagate=True, pyname=""</i>)
 <p>

eric ide

mercurial