(self, pos)
return eol
Returns top of next line or end of buffer
Returns top of next line or end of buffer
Returns top of next line or end of buffer
def geteol(self, pos):
        """Returns top of next line or end of buffer"""

        eol = self._findeol(pos)
        if eol == -1:
            eol = len(self.buf)
        return eol
def geteol ( self , pos ) : eol = self . _findeol ( pos ) if eol == - 1 : eol = len ( self . buf ) return eol