code: def _setBlockIndent(self, block, indent):
          
          currentIndent = self._blockIndent(block)
          self._qpart.replaceText((block.blockNumber(), 0), len(currentIndent), indent)
docs: Set blocks indent. Modify text in qpart