getEditorOrFileState