Mnemonic shortcut Alt-A doesn't work inside "Find in Path" dialog when text control active
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Press Ctrl+Shift+F - "Find in Path" dialog is opened with selected text in
input box
2. Press Alt+A to toggle "File mask(s)" control
What is the expected output? What do you see instead?
Expected: "File mask(s)" control toggled
Actual: Nothing happens
What version of the product are you using? On what operating system?
Version of the plugin 2.1, Win7
Please provide any additional information below.
See original report I submitted to IntelliJ
http://youtrack.jetbrains.com/issue/IDEA-106086
Error during dispatching of
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',modifiers=A
lt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUni
code=97,scancode=30] on dialog0: Wrong endOffset: 27; documentLength: 26
java.lang.IndexOutOfBoundsException: Wrong endOffset: 27; documentLength: 26
at com.intellij.openapi.editor.impl.DocumentImpl.b(DocumentImpl.java:454)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:411)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:407)
at osmedile.intellij.stringmanip.SwapCharactersAction$1.executeWriteAction(SwapCharactersAction.java:56)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:54)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:37)
at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:82)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:93)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:67)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:480)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Original issue reported on code.google.com by Vlad.She...@gmail.com
on 24 Apr 2013 at 3:43
GoogleCodeExporter commented
Well, I have made Alt+A to swap characters, if you do not like it, you can
change it
in keymaps settings. Or I could use a different shortcut, but do not know
which...
I have fixed that exception, thanks for that.
Original comment by vojta.kr...@gmail.com
on 25 Apr 2013 at 10:41
- Changed state: Fixed