denis-zhdanov / intellij-plugin-copy-on-steroids

Enhances IntelliJ-based IDEs 'Copy' action with ability to deliver rich text (RTF)
13 stars 6 forks source link

SOOBE #11

Open tobinibot opened 11 years ago

tobinibot commented 11 years ago

This did not happen when in column-select mode.

2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 12.1.2  Build #IU-129.354 
2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_45 
2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) 64-Bit Server VM 
2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - Vendor: Apple Inc. 
2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - OS: Mac OS X 
2013-04-26 16:05:11,712 [91060351]  ERROR - com.intellij.ide.IdeEventQueue - Last Action: EditorCopy 
2013-04-26 16:05:14,105 [91062744]   INFO - tCopyPasteSyntaxAwareProcessor - Preparing syntax-aware text. Given: regular selection, indent symbols to strip=2, first line start offset=6128, line width=-1, selected text:
    region #0: 6128-6327, text at range 6076-6352: 
'       final ResultSet resultSet = service.executeQuery("select date(dttm_add) as date, count(id) as count from fax_info\n" +
                        "where pid = ?\n" +
                        "and status <> 'received'\n" +
                        "and dttm_add is not null\n" +
                        "group by date(dttm_add)", getMember().getPid());' 
2013-04-26 16:05:14,106 [91062745]   INFO - tCopyPasteSyntaxAwareProcessor - Constructed syntax info: default colors: foreground=3, background=4; output infos: [foreground=1, font family=1, font style=1, font size=12, text=0-63, foreground=2, text=63-65, foreground=1, text=65-67, foreground=3, font style=0, text=67-69, text=71-75, foreground=1, font style=1, text=75-89, foreground=2, text=89-91, foreground=1, text=91-93, foreground=3, font style=0, text=93-95, text=97-101, foreground=1, font style=1, text=101-126, foreground=2, text=126-128, foreground=1, text=128-130, foreground=3, font style=0, text=130-132, text=134-138, foreground=1, font style=1, text=138-163, foreground=2, text=163-165, foreground=1, text=165-167, foreground=3, font style=0, text=167-169, text=171-175, foreground=1, font style=1, text=175-199] 
2013-04-26 16:05:14,109 [91062748]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=67,keyText=C,keyChar='c',modifiers=⌘,extModifiers=⌘,keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on frame8 
java.lang.StringIndexOutOfBoundsException: String index out of range: 198
    at java.lang.String.charAt(String.java:686)
    at org.denis.view.RtfTransferableData$MyVisitor.visit(RtfTransferableData.java:123)
    at org.denis.model.Text.invite(Text.java:21)
    at org.denis.view.RtfTransferableData.content(RtfTransferableData.java:83)
    at org.denis.view.RtfTransferableData.access$000(RtfTransferableData.java:9)
    at org.denis.view.RtfTransferableData$1$1.run(RtfTransferableData.java:40)
    at org.denis.view.RtfTransferableData.rectangularBackground(RtfTransferableData.java:76)
    at org.denis.view.RtfTransferableData.access$100(RtfTransferableData.java:9)
    at org.denis.view.RtfTransferableData$1.run(RtfTransferableData.java:37)
    at org.denis.view.RtfTransferableData.header(RtfTransferableData.java:68)
    at org.denis.view.RtfTransferableData.build(RtfTransferableData.java:34)
    at org.denis.view.AbstractSyntaxAwareInputStreamTransferableData.getDelegate(AbstractSyntaxAwareInputStreamTransferableData.java:84)
    at org.denis.view.AbstractSyntaxAwareInputStreamTransferableData.read(AbstractSyntaxAwareInputStreamTransferableData.java:59)
    at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1194)
    at apple.awt.CDataTransferer.translateTransferable(CDataTransferer.java:117)
    at apple.awt.CClipboard.setContentsNative(CClipboard.java:61)
    at sun.awt.datatransfer.SunClipboard.setContents(SunClipboard.java:93)
    at com.intellij.ide.ClipboardSynchronizer$ClipboardHandler.setContent(ClipboardSynchronizer.java:162)
    at com.intellij.ide.ClipboardSynchronizer$MacClipboardHandler.setContent(ClipboardSynchronizer.java:246)
    at com.intellij.ide.ClipboardSynchronizer.setContent(ClipboardSynchronizer.java:121)
    at com.intellij.ide.CopyPasteManagerEx.setSystemClipboardContent(CopyPasteManagerEx.java:100)
    at com.intellij.ide.CopyPasteManagerEx.moveContentTopStackTop(CopyPasteManagerEx.java:270)
    at com.intellij.ide.CopyPasteManagerEx.a(CopyPasteManagerEx.java:148)
    at com.intellij.ide.CopyPasteManagerEx.setContents(CopyPasteManagerEx.java:76)
    at com.intellij.codeInsight.editorActions.CopyHandler.execute(CopyHandler.java:100)
    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:494)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
ishchenko commented 10 years ago

Looks like a duplicate for #10