#NEWLINE# def redraw_status( self , custom_status = None ) : #NEWLINE# #INDENT# if custom_status : #NEWLINE# #INDENT# self . _update_statusbar ( custom_status ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . env and self . env . settings . get ( 'ensime_statusbar_showerrors' ) ) : #NEWLINE# #INDENT# if self . v . sel ( ) : #NEWLINE# #INDENT# relevant_notes = self . env . notes_storage . for_file ( self . v . file_name ( ) ) #NEWLINE# bol = self . v . line ( self . v . sel ( ) [ 0 ] . begin ( ) ) . begin ( ) #NEWLINE# eol = self . v . line ( self . v . sel ( ) [ 0 ] . begin ( ) ) . end ( ) #NEWLINE# msgs = [ note . message for note in relevant_notes if ( ( bol <= note . start <= eol ) or ( bol <= note . end <= eol ) ) ] #NEWLINE# self . _update_statusbar ( '; ' . join ( msgs ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . _update_statusbar ( None )