def METHOD_NAME(self):
    """Update: Draw a new frame"""
    # Draw edit window
    if self.redraw:
        self.bmp.fill(darkgrey)
        for j in range(self.nlin):
            for i in range(self.nch):
                if True or self.content[j][i] != self.content0[j][i]:
                    x = i*int(self.fontedit.linedy*10/17) + 1
                    y = j*self.fontedit.linedy+int(self.fontedit.linedy/6)
                    self.fontedit.printat(self.bmp,
                                          x,y,
                                          self.content[j][i])
                    self.content0[j][i]=self.content[j][i]
        # Draw cursor
        i = self.xcursor%self.nch
        j = int(self.xcursor/self.nch)
        x = i*int(self.fontedit.linedy*10/17)
        y = j*self.fontedit.linedy+int(self.fontedit.linedy/6)
        self.fontedit.printat(self.bmp,x,y,"_")
        self.bmp.set_alpha(127)    
        self.redraw = False
    return