def Append(self, strng):
        numlines = self.GetLineCount()
        endpos = self.LineIndex(numlines-1) + len(self.GetLine(numlines-1))
        self.SetSel(endpos, endpos)
        self.ReplaceSel(strng)