def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'INTERFACE')