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