[ANN] Vim Plugin 0.9.2 (Irida #3185 support)

I've built a new version that handles the changes to the OpenAPI. There are no other fixes in this release.

Enjoy,
Rick

3 comments
Comment actions Permalink

Hello Rick,

I'm getting an exception thrown quite often with the new version. It occurs
for me when I try to search in a file or when I tried to close a tab. Here
is the exception ...

java.lang.IndexOutOfBoundsException
at java.nio.CharBuffer.wrap(CharBuffer.java:408)
at com.maddyhome.idea.vim.helper.EditorHelper.getLineBuffer(EditorHelper.java:493)

at com.maddyhome.idea.vim.regexp.RegExp.reg_getline(RegExp.java:2393)
at com.maddyhome.idea.vim.regexp.RegExp.vim_regexec_both(RegExp.java:2464)
at com.maddyhome.idea.vim.regexp.RegExp.vim_regexec_multi(RegExp.java:2442)
at com.maddyhome.idea.vim.group.SearchGroup.highlightSearchLines(SearchGroup.java:796)

at com.maddyhome.idea.vim.group.SearchGroup.highlightSearch(SearchGroup.java:756)

at com.maddyhome.idea.vim.group.SearchGroup.searchHighlight(SearchGroup.java:719)

at com.maddyhome.idea.vim.group.SearchGroup.search(SearchGroup.java:648)
at com.maddyhome.idea.vim.group.SearchGroup.search(SearchGroup.java:585)
at com.maddyhome.idea.vim.group.ProcessGroup.processExEntry(ProcessGroup.java:133)

at com.maddyhome.idea.vim.handler.ex.ProcessExEntryHandler.execute(ProcessExEntryHandler.java:34)

at com.maddyhome.idea.vim.handler.AbstractEditorActionHandler.execute(AbstractEditorActionHandler.java:37)

at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)

at com.intellij.openapi.command.a.a.executeCommand(a.java:60)
at com.intellij.openapi.command.a.a.executeCommand(a.java:55)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)

at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)

at com.maddyhome.idea.vim.KeyHandler.executeAction(KeyHandler.java:467)
at com.maddyhome.idea.vim.KeyHandler$ActionRunner.run(KeyHandler.java:525)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:94)

at com.maddyhome.idea.vim.helper.RunnableHelper$WriteAction.run(RunnableHelper.java:65)

at com.intellij.openapi.command.a.a.executeCommand(a.java:24)
at com.intellij.openapi.command.a.a.executeCommand(a.java:55)
at com.maddyhome.idea.vim.helper.RunnableHelper.runWriteCommand(RunnableHelper.java:38)

at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:413)
at com.maddyhome.idea.vim.ui.ExTextField.processKeyEvent(ExTextField.java:111)

at java.awt.Component.processEvent(Component.java:4909)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)

at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)

at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
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:139)

at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:105)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:67)
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)


Thanks,

Andrew Edgar

I've built a new version that handles the changes to the OpenAPI.
There are no other fixes in this release.

Enjoy,
Rick



0
Comment actions Permalink


I am getting the same exception on every search, though I don't get it when closing a tab.

-Bruce

0
Comment actions Permalink

Oops - missed that one. I just uploaded 0.9.3 to fix this problem - sorry about that.

Rick

0

Please sign in to leave a comment.