new TextContentTypeComboBoxAction(this));
actionsPanel.add(actionToolbar.getComponent(), BorderLayout.WEST);
String text = readUserValue();
Document document = EditorFactory.getInstance().createDocument(text == null ? "" : StringUtil.removeCharacter(text, '\r'));
document.addDocumentListener(documentListener);
editor = (EditorEx) EditorFactory.getInstance().createEditor(document, project, userValueHolder.getContentType().getFileType(), false);
editor.setEmbeddedIntoDialogWrapper(true);
editor.getContentComponent().setFocusTraversalKeysEnabled(false);