void (@NotNull LightEditorInfo editorInfo, @NotNull VirtualFile targetFile) { LightEditorInfo newInfo = myEditorManager.saveAs(editorInfo, targetFile); getEditPanel().getTabs().replaceTab(editorInfo, newInfo); }