def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def __init__(self,title,richtext,text):
        self.title=title
        self.richtext=richtext
        self.text=text