VIM exception

I am using IRADA build 3089. If you have VIM installed and change to column mode, then try to select a bunch of columns and delete them you get

Error message: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(180,136),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.IndexOutOfBoundsException: Wrong offset: -1 textLength: 11361
at com.intellij.openapi.editor.impl.EditorImpl.c(EditorImpl.java:1236)
at com.intellij.openapi.editor.impl.EditorImpl.offsetToLogicalPosition(EditorImpl.java:384)
at com.maddyhome.idea.vim.group.MarkGroup.setMark(MarkGroup.java:177)
at com.maddyhome.idea.vim.group.MotionGroup.setVisualMode(MotionGroup.java:1210)
at com.maddyhome.idea.vim.group.MotionGroup.processMouseDrag(MotionGroup.java:123)
at com.maddyhome.idea.vim.group.MotionGroup.access$400(MotionGroup.java:71)
at com.maddyhome.idea.vim.group.MotionGroup$EditorMouseHandler.mouseReleased(MotionGroup.java:1564)
at com.intellij.openapi.editor.impl.EditorImpl.c(EditorImpl.java:914)
at com.intellij.openapi.editor.impl.EditorImpl.access$6100(EditorImpl.java:1206)
at com.intellij.openapi.editor.impl.EditorImpl$f_.mouseReleased(EditorImpl$f_.java:9)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:127)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:131)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:133)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 comment

Column mode is not supported by the VIM plugin (via the Ctrl-V command). I will take a look at the error and see if I can at least make it behave better if you use column mode from the menu.

Rick

0

Please sign in to leave a comment.