From: Oleg Shpynov Date: Mon, 15 Feb 2010 16:10:34 +0000 (+0300) Subject: RUBY-5758 X-Git-Tag: review-1~15^2~1 X-Git-Url: https://repo.or.cz/w/fedora-idea.git/commitdiff_plain/95eff4ca88e0949ba9d91ad9b472a63c89166247 RUBY-5758 Enter doesn't work in rename dialog with insert mode enabled --- diff --git a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java index 05b214914d..6ec50fe404 100644 --- a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java +++ b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java @@ -388,15 +388,6 @@ public abstract class ChooseByNameBase{ ListScrollingUtil.movePageDown(myList); break; case KeyEvent.VK_ENTER: - // Diagnostics for Enter key problems with IdeaVim installed - if (myTextField.getActionMap().get("notify-field-accept") == null){ - LOG.error("Text field has no action for 'notify-field-accept' input map entry"); - for (Object o : myTextField.getActionMap().allKeys()) { - if (o instanceof String && ((String)o).contains("vim")){ - LOG.error("Text field action map contains ExEditorKit action: " + o); - } - } - } if (myList.getSelectedValue() == EXTRA_ELEM) { myMaximumListSizeLimit += MAXIMUM_LIST_SIZE_LIMIT; rebuildList(myList.getSelectedIndex(), REBUILD_DELAY, null, ModalityState.current());