RUBY-5758
authorOleg Shpynov <oleg.shpynov@jetbrains.com>
Mon, 15 Feb 2010 16:10:34 +0000 (15 19:10 +0300)
committerOleg Shpynov <oleg.shpynov@jetbrains.com>
Mon, 15 Feb 2010 16:10:34 +0000 (15 19:10 +0300)
Enter doesn't work in rename dialog with insert mode enabled

platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java

index 05b2149..6ec50fe 100644 (file)
@@ -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());