#NEWLINE# @ staticmethod #NEWLINE# def clear( view ) : #NEWLINE# #INDENT# 'Clear all marks in the given view.' #NEWLINE# for error_type in ( WARNING , ERROR ) : #NEWLINE# #INDENT# view . erase_regions ( MARK_KEY_FORMAT . format ( error_type ) ) #NEWLINE# view . erase_regions ( GUTTER_MARK_KEY_FORMAT . format ( error_type ) )