(self, args)
VIEW PRINT: set scroll region.
VIEW PRINT: set scroll region.
VIEW PRINT : set scroll region .
def view_print_(self, args):
        """VIEW PRINT: set scroll region."""
        start, stop = (None if arg is None else values.to_int(arg) for arg in args)
        if start is None and stop is None:
            self.scroll_area.unset()
        else:
            if self._tandytext and not self._bottom_bar.visible:
                max_line = 25
            else:
                max_line = 24
            error.range_check(1, max_line, start, stop)
            error.throw_if(stop < start)
            self.scroll_area.set(start, stop)
            #set_pos(start, 1)
            self.overflow = False
            self._move_cursor(start, 1)
def view_print_ ( self , args ) : start , stop = ( None if arg is None else values . to_int ( arg ) for arg in args ) if start is None and stop is None : self . scroll_area . unset ( ) else : if self . _tandytext and not self . _bottom_bar . visible : max_line = 25 else : max_line = 24 error . range_check ( 1 , max_line , start , stop ) error . throw_if ( stop < start ) self . scroll_area . set ( start , stop ) #set_pos(start, 1) self . overflow = False self . _move_cursor ( start , 1 )