(self)
self.newPix = self._getNewPixmap(50, self.height)
        qp = QtGui.QPainter()
        qp.begin(self.newPix)

        qp.setViewport(0, 0, 50,  self.ROWS * self.fontHeight)
self.newPix = self._getNewPixmap(50, self.height)
        qp = QtGui.QPainter()
        qp.begin(self.newPix)
self . newPix = self . _getNewPixmap ( 50 self . height ) qp = QtGui . QPainter () qp . begin ( self . newPix )
def drawAdditionals(self):
        self.newPix = self._getNewPixmap(self.width, self.height + self.SPACER)
        qp = QtGui.QPainter()
        qp.begin(self.newPix)
        qp.setWindow(-50, 0, self.COLUMNS * self.fontWidth,  self.ROWS * self.fontHeight)

        qp.drawPixmap(0, 0, self.qpix)

        #self.transformationEngine.decorateText()

        # highlight selected text
        self.selector.highlightText()

        # draw other selections
        self.selector.drawSelections(qp)

        # draw our cursor
        self.drawCursor(qp)

        #qp.setViewport(0, 0, 50,  self.ROWS * self.fontHeight)
        """
        self.newPix = self._getNewPixmap(50, self.height)
        qp = QtGui.QPainter()
        qp.begin(self.newPix)

        qp.setViewport(0, 0, 50,  self.ROWS * self.fontHeight)
        """
        self.drawBranch(qp)
        self.drawSelected(qp)
        qp.end()
def drawAdditionals ( self ) : self . newPix = self . _getNewPixmap ( self . width , self . height + self . SPACER ) qp = QtGui . QPainter ( ) qp . begin ( self . newPix ) qp . setWindow ( - 50 , 0 , self . COLUMNS * self . fontWidth , self . ROWS * self . fontHeight ) qp . drawPixmap ( 0 , 0 , self . qpix ) #self.transformationEngine.decorateText() # highlight selected text self . selector . highlightText ( ) # draw other selections self . selector . drawSelections ( qp ) # draw our cursor self . drawCursor ( qp ) #qp.setViewport(0, 0, 50,  self.ROWS * self.fontHeight) self . drawBranch ( qp ) self . drawSelected ( qp ) qp . end ( )