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