(block, column)
Returns the column with a non-whitespace characters
        starting at the given cursor position and searching forwards.
Returns the column with a non-whitespace characters
        starting at the given cursor position and searching forwards.
Returns the column with a non - whitespace characters starting at the given cursor position and searching forwards .
def _nextNonSpaceColumn(block, column):
        """Returns the column with a non-whitespace characters
        starting at the given cursor position and searching forwards.
        """
        textAfter = block.text()[column:]
        if textAfter.strip():
            spaceLen = len(textAfter) - len(textAfter.lstrip())
            return column + spaceLen
        else:
            return -1
def _nextNonSpaceColumn ( block , column ) : textAfter = block . text ( ) [ column : ] if textAfter . strip ( ) : spaceLen = len ( textAfter ) - len ( textAfter . lstrip ( ) ) return column + spaceLen else : return - 1