(self, absPosition)
return (block.blockNumber(),
                absPosition - block.position())
Convert absolute position to ``(line, column)``
Convert absolute position to ``(line, column)``
Convert absolute position to ( line column )
def mapToLineCol(self, absPosition):
        """Convert absolute position to ``(line, column)``
        """
        block = self.document().findBlock(absPosition)
        if not block.isValid():
            raise IndexError("Invalid absolute position %d" % absPosition)

        return (block.blockNumber(),
                absPosition - block.position())
def mapToLineCol ( self , absPosition ) : block = self . document ( ) . findBlock ( absPosition ) if not block . isValid ( ) : raise IndexError ( "Invalid absolute position %d" % absPosition ) return ( block . blockNumber ( ) , absPosition - block . position ( ) )