Closed ksafonov closed 11 years ago
thanks for the issue report, i'll have a look into it. can you be more specific about the context / how to reproduce it?
You need to create a new file named "foo.jade" with the contents as shown above (input....). Then put caret in the middle of "data-bind" word and invoke increment or decrement action.
hi Kirill, the bug should be fixed now (https://github.com/kstenschke/shifter-plugin/commit/620b4c63097185986a2892b6973850d3d1f61fa1)
Latest WebStorm, file "foo.jade":
input(data-bind="value: myValue")
put caret in the middle of "data-bind", invoke increment or decrement
Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=46,keyText=Period,keyChar=Undefined keyChar,modifiers=Ctrl+Alt+Shift,extModifiers=Ctrl+Alt+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=190,primaryLevelUnicode=46,scancode=52] on frame0: Unclosed group near index 23 input(data-bind="value: ^ java.util.regex.PatternSyntaxException: Unclosed group near index 23 input(data-bind="value: ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.accept(Pattern.java:1571) at java.util.regex.Pattern.group0(Pattern.java:2533) at java.util.regex.Pattern.sequence(Pattern.java:1806) at java.util.regex.Pattern.expr(Pattern.java:1752) at java.util.regex.Pattern.compile(Pattern.java:1460) at java.util.regex.Pattern.(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at java.util.regex.Pattern.matches(Pattern.java:928)
at java.lang.String.matches(String.java:2090)
at com.kstenschke.shifter.models.ShiftableLine.getShifted(ShiftableLine.java:92)
at com.kstenschke.shifter.actions.ShiftUpAction$1$1.run(ShiftUpAction.java:159)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
at com.kstenschke.shifter.actions.ShiftUpAction$1.run(ShiftUpAction.java:71)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:122)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:97)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:83)
at com.kstenschke.shifter.actions.ShiftUpAction.actionPerformed(ShiftUpAction.java:68)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:561)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:609)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:464)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:208)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:478)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:375)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)