(self, srow)
return srow
Find the start of the logical line that includes our current position.
Find the start of the logical line that includes our current position.
Find the start of the logical line that includes our current position .
def find_start_of_line(self, srow):
        """Find the start of the logical line that includes our current position."""
        # move up as long as previous line wraps
        while srow > 1 and self._apage.wraps(srow-1):
            srow -= 1
        return srow
def find_start_of_line ( self , srow ) : # move up as long as previous line wraps while srow > 1 and self . _apage . wraps ( srow - 1 ) : srow -= 1 return srow