def set_source_code_provider(self, source_code_provider, force_update=False):
    if ((self.source_code_provider != source_code_provider) or force_update):
        self.source[:] = source_code_provider.get_lines(self)
        self.source_code_provider = source_code_provider
        self.current_line = None
def set_source_code_provider(self, source_code_provider, force_update=False):
    if ((self.source_code_provider != source_code_provider) or force_update):
        self.source[:] = source_code_provider.get_lines(self)
        self.source_code_provider = source_code_provider
        self.current_line = None