#NEWLINE# def __init__( self , ui_content , horizontal_scroll , vertical_scroll , window_width , window_height , configured_scroll_offsets , visible_line_to_row_col , rowcol_to_yx , x_offset , y_offset , wrap_lines ) : #NEWLINE# #INDENT# assert isinstance ( ui_content , UIContent ) #NEWLINE# assert isinstance ( horizontal_scroll , int ) #NEWLINE# assert isinstance ( vertical_scroll , int ) #NEWLINE# assert isinstance ( window_width , int ) #NEWLINE# assert isinstance ( window_height , int ) #NEWLINE# assert isinstance ( vertical_scroll , ScrollOffsets ) #NEWLINE# assert isinstance ( visible_line_to_row_col , dict ) #NEWLINE# assert isinstance ( rowcol_to_yx , dict ) #NEWLINE# assert isinstance ( x_offset , int ) #NEWLINE# assert isinstance ( y_offset , int ) #NEWLINE# assert isinstance ( wrap_lines , bool ) #NEWLINE# self . ui_content = ui_content #NEWLINE# self . vertical_scroll = vertical_scroll #NEWLINE# self . window_width = window_width #NEWLINE# self . window_height = window_height #NEWLINE# self . configured_scroll_offsets = configured_scroll_offsets #NEWLINE# self . visible_line_to_row_col = visible_line_to_row_col #NEWLINE# self . wrap_lines = wrap_lines #NEWLINE# self . _rowcol_to_yx = rowcol_to_yx #NEWLINE# self . _x_offset = x_offset #NEWLINE# self . _y_offset = y_offset