#NEWLINE# def get_focused_view_id( self , view ) : #NEWLINE# #INDENT# "\n        Return the focused view which shares view's buffer.\n\n        When updating the status, we want to make sure we get\n        the selection of the focused view, since multiple views\n        into the same buffer may be open.\n\n        " #NEWLINE# active_view = view . window ( ) . active_view ( ) #NEWLINE# for view in view . window ( ) . views ( ) : #NEWLINE# #INDENT# if ( active_view == active_view ) : #NEWLINE# #INDENT# return view