src/eric7/QScintilla/Editor.py

branch
eric7
changeset 9977
a5acf678c367
parent 9972
68ac01294544
child 10004
983477114d3c
child 10050
3750abc45d5e
--- a/src/eric7/QScintilla/Editor.py	Wed Apr 12 13:10:09 2023 +0200
+++ b/src/eric7/QScintilla/Editor.py	Thu Apr 13 19:33:10 2023 +0200
@@ -3972,6 +3972,15 @@
             self.searchSelectionIndicator, startLine, startIndex, endLine, endIndex
         )
 
+    def getSearchSelectionHighlight(self):
+        """
+        Public method to get the start and end of the selection highlight.
+
+        @return tuple containing the start line and index and the end line and index
+        @rtype tuple of (int, int, int, int)
+        """
+        return self.getIndicator(self.searchSelectionIndicator)
+
     def clearSearchSelectionHighlight(self):
         """
         Public method to clear all highlights.

eric ide

mercurial