UI/BrowserModel.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2677
3d4277929fb3
parent 2769
8cbebde7a984
child 2847
1843ef6e2656
--- a/UI/BrowserModel.py	Mon Jul 08 21:47:26 2013 +0200
+++ b/UI/BrowserModel.py	Mon Jul 08 22:36:10 2013 +0200
@@ -1286,6 +1286,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.
@@ -1378,10 +1386,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