QScintilla/QsciScintillaCompat.py

changeset 2587
68cc83a68883
parent 2564
3eb07bb2afd4
child 2589
a51b0c113ed7
--- a/QScintilla/QsciScintillaCompat.py	Mon Apr 15 18:48:56 2013 +0200
+++ b/QScintilla/QsciScintillaCompat.py	Mon Apr 15 19:36:22 2013 +0200
@@ -474,6 +474,14 @@
         """
         self.SendScintilla(QsciScintilla.SCI_LINEENDEXTEND)
     
+    def selectionIsRectangle(self):
+        """
+        Public method to check, if the current selection is rectangular.
+        
+        @return flag indicating a rectangular selection.
+        """
+        return self.SendScintilla(QsciScintilla.SCI_SELECTIONISRECTANGLE)
+    
     def getLineSeparator(self):
         """
         Public method to get the line separator for the current eol mode.

eric ide

mercurial