def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def _init_liststore(self):
        """Creates the liststore"""
        self.liststore = Gtk.ListStore(object, GdkPixbuf.Pixbuf, str, str)
        self.set_model(self.liststore)