#NEWLINE# def set_buffer( self , text ) : #NEWLINE# #INDENT# for char in text : #NEWLINE# #INDENT# if ( not self . char_isprint ( char ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if self . is_overwrite : #NEWLINE# #INDENT# if ( self . readline . l_buffer . point < len ( self . readline . l_buffer . line_buffer ) ) : #NEWLINE# #INDENT# self . readline . l_buffer . line_buffer [ self . readline . l_buffer . point ] = char #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . readline . l_buffer . line_buffer . append ( char ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . readline . l_buffer . line_buffer . insert ( self . readline . l_buffer . point , char ) #NEWLINE# #UNINDENT# self . readline . l_buffer . point += 1