#NEWLINE# def set_line_marker( self , view_name , line_number ) : #NEWLINE# #INDENT# view_name = simplify_path ( view_name ) #NEWLINE# print ( 'Setting line marker:' , view_name , line_number ) #NEWLINE# self . add_missing_views ( ) #NEWLINE# if ( view_name in v . views ) : #NEWLINE# #INDENT# self . state . setdefault ( view_name , [ ] ) #NEWLINE# self . state [ view_name ] = [ ( k , v ) for ( k , v ) in self . state [ view_name ] if ( k != 'line_marker' ) ] #NEWLINE# self . state [ view_name ] . append ( ( 'line_marker' , line_number ) ) #NEWLINE# self . update_regions ( )