def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def update_on():
  global _updating
  if not '_updating' in globals(): _updating = False
  if _updating: return