#NEWLINE# def last_visible_line( self , before_scroll_offset = False ) : #NEWLINE# #INDENT# '\n        Like `first_visible_line`, but for the last visible line.\n        ' #NEWLINE# if before_scroll_offset : #NEWLINE# #INDENT# return self . displayed_lines [ ( ( - 1 ) - self . applied_scroll_offsets . bottom ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . displayed_lines [ ( - 1 ) ]