UI/BrowserModel.py

changeset 2769
8cbebde7a984
parent 2613
0799eea6feba
child 2779
4d433896b6d6
child 2791
a9577f248f04
--- a/UI/BrowserModel.py	Wed Jul 03 19:34:42 2013 +0200
+++ b/UI/BrowserModel.py	Fri Jul 05 19:17:29 2013 +0200
@@ -1284,6 +1284,14 @@
         """
         return self._classObject.lineno
     
+    def boundaries(self):
+        """
+        Public method returning the boundaries of the method definition.
+        
+        @return tuple with start end end line number (integer, integer)
+        """
+        return (self._classObject.lineno, self._classObject.endlineno)
+    
     def lessThan(self, other, column, order):
         """
         Public method to check, if the item is less than the other one.
@@ -1376,10 +1384,18 @@
         """
         Public method returning the line number defining this object.
         
-        return line number defining the object (integer)
+        @return line number defining the object (integer)
         """
         return self._functionObject.lineno
     
+    def boundaries(self):
+        """
+        Public method returning the boundaries of the method definition.
+        
+        @return tuple with start end end line number (integer, integer)
+        """
+        return (self._functionObject.lineno, self._functionObject.endlineno)
+    
     def lessThan(self, other, column, order):
         """
         Public method to check, if the item is less than the other one.

eric ide

mercurial