@staticmethod
def _at_block_start(tc, line):
    """
        Improve QTextCursor.atBlockStart to ignore spaces
        """
    if tc.atBlockStart():
        return True
    column = tc.columnNumber()
    indentation = len(line) - len(line.lstrip())
    return column <= indentation
