'Reload file from disk'

def reload(self, index):

    finfo = self.data[index]
    (txt, finfo.encoding) = encoding.read(finfo.filename)
    finfo.lastmodified = QFileInfo(finfo.filename).lastModified()
    position = finfo.editor.get_position('cursor')
    finfo.editor.set_text(txt)
    finfo.editor.document().setModified(False)
    finfo.editor.set_cursor_position(position)
    self.introspector.validate()
    finfo.editor.rehighlight()
    self._refresh_outlineexplorer(index)
