1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-22 19:34:04 +02:00

Close any More panel if the editor selection changes

This commit is contained in:
rmaddy 2003-04-22 18:12:18 +00:00
parent 80a3bccfe8
commit ae31bf4e2a

View File

@ -41,8 +41,9 @@ import com.maddyhome.idea.vim.group.CommandGroups;
import com.maddyhome.idea.vim.group.MotionGroup; import com.maddyhome.idea.vim.group.MotionGroup;
import com.maddyhome.idea.vim.helper.EditorData; import com.maddyhome.idea.vim.helper.EditorData;
import com.maddyhome.idea.vim.key.RegisterActions; import com.maddyhome.idea.vim.key.RegisterActions;
import org.jdom.Element; import com.maddyhome.idea.vim.ui.MorePanel;
import java.awt.Toolkit; import java.awt.Toolkit;
import org.jdom.Element;
/** /**
* This plugin attempts to emulate the keybinding and general functionality of Vim and gVim. See the supplied * This plugin attempts to emulate the keybinding and general functionality of Vim and gVim. See the supplied
@ -123,6 +124,7 @@ public class VimPlugin implements ApplicationComponent, JDOMExternalizable
FileEditorManager.getInstance(project).addFileEditorManagerListener(new ChangeGroup.InsertCheck()); FileEditorManager.getInstance(project).addFileEditorManagerListener(new ChangeGroup.InsertCheck());
FileEditorManager.getInstance(project).addFileEditorManagerListener(new MotionGroup.MotionEditorChange()); FileEditorManager.getInstance(project).addFileEditorManagerListener(new MotionGroup.MotionEditorChange());
FileEditorManager.getInstance(project).addFileEditorManagerListener(new MorePanel.MoreEditorChangeListener());
} }
}); });
} }