#NEWLINE# @ property_depends_on ( 'selected, selected_match' ) #NEWLINE# def _get_selected_line( self ) : #NEWLINE# #INDENT# selected = self . selected #NEWLINE# if ( ( selected is None ) or ( len ( selected . matches ) == 0 ) ) : #NEWLINE# #INDENT# return 1 #NEWLINE# #UNINDENT# return int ( selected . matches [ ( self . selected_match - 1 ) ] . split ( ':' , 1 ) [ 0 ] )