#NEWLINE# def set_status_bar( self ) : #NEWLINE# #INDENT# if ( not pref . phpcs_show_errors_in_status ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . view . is_scratch ( ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# line = self . view . rowcol ( self . view . sel ( ) [ 0 ] . end ( ) ) [ 0 ] #NEWLINE# errors = self . get_errors ( line ) #NEWLINE# if line : #NEWLINE# #INDENT# self . view . set_status ( 'Phpcs' , errors ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . view . erase_status ( 'Phpcs' )