(self, rowidx, col)
return pos
Get pos at col of row when cursor downed from above row
Get pos at col of row when cursor downed from above row
Get pos at col of row when cursor downed from above row
def get_pos_under(self, rowidx, col):
        """Get pos at col of row when cursor downed from above row"""

        row = self.rows[rowidx]
        pos = self._getpos_fromrowcol(row, col)

        # Return next pos if the pos start at a row above
        if row.cols:
            if (row.positions[0] == pos) and (row.intervals[0] != 0):
                pos = self.document.get_nextpos(pos)

        return pos
def get_pos_under ( self , rowidx , col ) : row = self . rows [ rowidx ] pos = self . _getpos_fromrowcol ( row , col ) # Return next pos if the pos start at a row above if row . cols : if ( row . positions [ 0 ] == pos ) and ( row . intervals [ 0 ] != 0 ) : pos = self . document . get_nextpos ( pos ) return pos