#NEWLINE# def value_from( self , selected_text ) : #NEWLINE# #INDENT# self . read_file ( ) #NEWLINE# self . move_to ( selected_text ) #NEWLINE# if ( self . intermediate_value is None ) : #NEWLINE# #INDENT# value = ( self . dict [ self . last_key ] if ( self . last_key in self . dict ) else '' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# value = self . intermediate_value #NEWLINE# #UNINDENT# return value