(self, x1, x2)
return start, end
Get the visible column range
Get the visible column range
Get the visible column range
def getVisibleCols(self, x1, x2):
        """Get the visible column range"""

        start = self.getColPosition(x1)
        end = self.getColPosition(x2)+1
        if end > self.cols:
            end = self.cols
        return start, end
def getVisibleCols ( self , x1 , x2 ) : start = self . getColPosition ( x1 ) end = self . getColPosition ( x2 ) + 1 if end > self . cols : end = self . cols return start , end