Object (@NotNull String dataId) { EditorEx editor = getEditor(false); if (editor != null && editor.isRendererMode()) { if (PlatformDataKeys.COPY_PROVIDER.is(dataId)) { return editor.getCopyProvider(); } return null; } if (CommonDataKeys.EDITOR.is(dataId)) { return editor; } return null; }