def flipSegmentHorizontal(self, startPoint, height, width, frange=None):
        """ Flip the contents horizontally in the current frame, or framge range """
        #self.undo.push()
        # make a reverse copy
        segment = self.copySegmentToBuffer(startPoint, height, width)
        segment.flip_horizontal()

        # replace with our copy
        self.pasteFromClipboard(clipBuffer = segment, frange=frange, startPoint=startPoint)
        #self.pasteFromClipboard(frange=self.appState.playbackRange)
 Flip the contents horizontally in the current frame, or framge range 
durdraw/durdraw_ui_curses.py