EditorTextField (@NotNull EditorTextField field, @NotNull String text) { LanguageTextField popupEditor = new LanguageTextField(FileTypes.PLAIN_TEXT.getLanguage(), settings.getProject(), text); setupEditor(popupEditor, settings); myPopupEditor = popupEditor; return popupEditor; }