'Show the results of the asynchronous file read'

def show_preview(self, task):

    filename = task.filename
    content = task.content
    line_number = task.line_number
    if (filename != self.filename):
        self.filename = filename
        self.content = content
        self.set_value(content)
    self.scroll_to_line(line_number)
