'Update the file preview window'

def update_preview(self):

    parsed_line = parse_grep_line(self.result_txt.selected_line())
    if parsed_line:
        (filename, line_number, content) = parsed_line
        self.preview_txt.preview(filename, line_number)
