append text in the chosen color

def addText(self, text):
        """append text in the chosen color"""
        # move to the end of the doc
        self.moveCursor(QtGui.QTextCursor.End)
        # insert the text
        self.setTextColor(self._currentColor)
        self.textCursor().insertText(text)