def render(self, display):
        """Render basicly the text."""

        # to handle changing objects / callable
        if self.shawn_text != self._last_text:
            self._render()

        if self.text:
            papy = self._surface.get_width()
            if papy <= self.width:
                display.blit(self._surface, (self.topleft, self.size))
            else:
                display.blit(self._surface, (self.topleft, self.size), ((papy - self.w, 0), self.size))
        else:
            display.blit(self.default_text, (self.topleft, self.size))

        if self._focus:
            groom = self.cursor_pos()
            line(display, (groom, self.top), (groom, self.bottom), CONCRETE)
def render ( self , display ) : if self . shawn_text != self . _last_text : self . _render ( ) if self . text : papy = self . _surface . get_width ( ) if papy <= self . width : display . blit ( self . _surface , ( self . topleft , self . size ) ) else : display . blit ( self . _surface , ( self . topleft , self . size ) , ( ( papy - self . w , 0 ) , self . size ) ) else : display . blit ( self . default_text , ( self . topleft , self . size ) ) if self . _focus : groom = self . cursor_pos ( ) line ( display , ( groom , self . top ) , ( groom , self . bottom ) , CONCRETE )
Render basicly the text.