kolinkrewinkel / multiplex Goto Github PK
View Code? Open in Web Editor NEWSimultaneous editing for Xcode, inspired by Sublime Text.
License: MIT License
Simultaneous editing for Xcode, inspired by Sublime Text.
License: MIT License
Thank you for making awesome plugin.
I installed this plugin from installer.pkg
.
How can I uninstall plugin?
(I want to re-install plugin with manual way. Because Cmd-D is not working.)
Add support to ⌘+D to select next occurrence of the selected text (as in Sublime)?
This is kind of similar to "Edit all in scope" except that it could work with any selection, not just variable names.
Once edit all in scope is active, you can't move the selection at all like normal. Any attempt to change it snaps it back to the old selection.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7B91b
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSCFString rangeOfString:options:range:locale:]: Range {3118, 18446744073709551583} out of bounds; string length 3085
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff935f0e1a __exceptionPreprocess (in CoreFoundation)
1 0x0000000102146c7e DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8c036dd4 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff9365765d +[NSException raise:format:](in CoreFoundation)
4 0x00007fff855d712a -[NSString rangeOfString:options:range:locale:](in Foundation)
5 0x00007fff855dc010 -[NSString rangeOfString:options:range:](in Foundation)
6 0x000000010e9aedc3 __53-[DVTSourceTextView(MPXEditorExtensions) insertText:]_block_invoke_2 (in Multiplex)
7 0x00007fff856bd37e -[NSString enumerateSubstringsInRange:options:usingBlock:](in Foundation)
8 0x00007fff857b8bb0 -[NSString enumerateLinesUsingBlock:](in Foundation)
9 0x000000010e9ae4d7 __53-[DVTSourceTextView(MPXEditorExtensions) insertText:]_block_invoke129 (in Multiplex)
10 0x000000010e9a57f7 -[MPXSelectionManager mapSelectionsWithMovementDirection:modifyingSelections:usingBlock:] at /Users/kolin/Multiplex/Multiplex/Classes/MPXSelectionManager.m:228 (in Multiplex)
11 0x000000010e9ad6e1 -[DVTSourceTextView(MPXEditorExtensions) insertText:](in Multiplex)
12 0x000000010e9a0c72 -[DVTSourceTextView(MPXClipboard) paste:](in Multiplex)
13 0x00007fff9aeed082 _os_activity_initiate (in libsystem_trace.dylib)
14 0x00007fff9559f811 -[NSApplication sendAction:to:from:](in AppKit)
15 0x0000000102721001 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
16 0x00000001025f28f1 -[DVTApplication sendAction:to:from:](in DVTKit)
17 0x00007fff9559f5ab -[NSMenuItem _corePerformAction](in AppKit)
18 0x00007fff9559f30b -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:](in AppKit)
19 0x00007fff9aeed082 _os_activity_initiate (in libsystem_trace.dylib)
20 0x00007fff9559e1f9 -[NSMenu performKeyEquivalent:](in AppKit)
21 0x00007fff9559d3a0 -[NSApplication _handleKeyEquivalent:](in AppKit)
22 0x00007fff954c31ed -[NSApplication sendEvent:](in AppKit)
23 0x000000010338ebe5 -[IDEApplication sendEvent:](in IDEKit)
24 0x00007fff95329d9a -[NSApplication run](in AppKit)
25 0x00007fff952f2fbe NSApplicationMain (in AppKit)
26 0x00007fff944c15ad start (in libdyld.dylib)
Performing @selector(paste:) from sender NSMenuItem 0x7fd1be061ac0
abort() called
Application Specific Signatures:
NSRangeException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff935f0e32 __exceptionPreprocess + 178
1 DVTFoundation 0x0000000102146c7e DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff8c036dd4 objc_exception_throw + 48
3 CoreFoundation 0x00007fff9365765d +[NSException raise:format:] + 205
4 Foundation 0x00007fff855d712a -[NSString rangeOfString:options:range:locale:] + 198
5 Foundation 0x00007fff855dc010 -[NSString rangeOfString:options:range:] + 29
6 Multiplex 0x000000010e9aedc3 __53-[DVTSourceTextView(MPXEditorExtensions) insertText:]_block_invoke_2 + 499
7 Foundation 0x00007fff856bd37e -[NSString enumerateSubstringsInRange:options:usingBlock:] + 2121
8 Foundation 0x00007fff857b8bb0 -[NSString enumerateLinesUsingBlock:] + 125
9 Multiplex 0x000000010e9ae4d7 __53-[DVTSourceTextView(MPXEditorExtensions) insertText:]_block_invoke129 + 2871
10 Multiplex 0x000000010e9a57f7 -[MPXSelectionManager mapSelectionsWithMovementDirection:modifyingSelections:usingBlock:] + 935
11 Multiplex 0x000000010e9ad6e1 -[DVTSourceTextView(MPXEditorExtensions) insertText:] + 1105
12 Multiplex 0x000000010e9a0c72 -[DVTSourceTextView(MPXClipboard) paste:] + 498
13 libsystem_trace.dylib 0x00007fff9aeed082 _os_activity_initiate + 75
14 AppKit 0x00007fff9559f811 -[NSApplication sendAction:to:from:] + 460
15 DVTKit 0x0000000102721001 __37-[DVTApplication sendAction:to:from:]_block_invoke + 379
16 DVTKit 0x00000001025f28f1 -[DVTApplication sendAction:to:from:] + 377
17 AppKit 0x00007fff9559f5ab -[NSMenuItem _corePerformAction] + 336
18 AppKit 0x00007fff9559f30b -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
19 libsystem_trace.dylib 0x00007fff9aeed082 _os_activity_initiate + 75
20 AppKit 0x00007fff9559e1f9 -[NSMenu performKeyEquivalent:] + 357
21 AppKit 0x00007fff9559d3a0 -[NSApplication _handleKeyEquivalent:] + 920
22 AppKit 0x00007fff954c31ed -[NSApplication sendEvent:] + 4274
23 IDEKit 0x000000010338ebe5 -[IDEApplication sendEvent:] + 739
24 AppKit 0x00007fff95329d9a -[NSApplication run] + 796
25 AppKit 0x00007fff952f2fbe NSApplicationMain + 1176
26 libdyld.dylib 0x00007fff944c15ad start + 1
27 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8c58a0ae __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8dd53500 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff87ea237b abort + 129
3 com.apple.dt.IDEKit 0x00000001035b194d +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1481
4 com.apple.dt.IDEKit 0x00000001035b2be6 -[IDEAssertionHandler handleUncaughtException:] + 1077
5 com.apple.dt.IDEKit 0x00000001035b2cb2 IDEHandleUncaughtException + 94
6 com.apple.AppKit 0x00007fff95329e3e -[NSApplication run] + 960
7 com.apple.AppKit 0x00007fff952f2fbe NSApplicationMain + 1176
8 libdyld.dylib 0x00007fff944c15ad start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8c58b0a2 kevent_qos + 10
1 libdispatch.dylib 0x00007fff9770d11d _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff9770cd85 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8c584c96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c5840d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff935662b4 CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9356577c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff93564fc8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff855f6f59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.apple.DTDeviceKitBase 0x000000010aef3670 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 1103
7 com.apple.Foundation 0x00007fff85607ee4 __NSThread__start + 1351
8 libsystem_pthread.dylib 0x00007fff8dd509b1 _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8dd5092e _pthread_start + 168
10 libsystem_pthread.dylib 0x00007fff8dd4e385 thread_start + 13
I have to say I love this plugin so much.. But I'd prefer keeping the default cmd+click-->jump to definition feature.
Is there possibility to switch off the alt+click jump to definition?
If you've already had the selections modified to go the beginning/end of the document, and you hit it again or hold down, it will make the insertion index change for no reason.
When a range of text is selected already and it has a length > 0, using the left and right arrow keys should not move it.
Rather, it should set the length to 0 and have a location at the end of the selection in which the arrow is pointing.
the timer is screwy
Since I've installed Multiplex, I experienced an unusual high number of Xcode Crashes.
The crashing plugin is FuzzyAutocomplete ( See: FuzzyAutocomplete/FuzzyAutocompletePlugin#94 ), but as soon as I uninstalled Multiplex the crashes stopped.
Also, Multiplex appears in the Stacktrace of the crash:
...
46 0x00000001172de9c8 -[DVTTextCompletionListWindowController(MPXAutocompleteAnimation) mpx_showWindowForTextFrame:explicitAnimation:] (in Multiplex)
...
Complete Crashlog:
Process: Xcode [21400]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.0.1 (8228)
Build Info: IDEFrameworks-8228000000000000~5
App Item ID: 497799835
App External ID: 813434267
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [21400]
User ID: 501
PlugIn Path: /Users/USER/Library/Application Support/Developer/*/FuzzyAutocomplete
PlugIn Identifier: io.github.FuzzyAutocomplete
PlugIn Version: 2.1.1 (2.1.1)
Date/Time: 2015-10-21 14:02:40.414 +0200
OS Version: Mac OS X 10.11 (15A284)
Report Version: 11
Anonymous UUID: 30E7A7DA-6DE2-49F5-8806-F4B322DC8F45
Time Awake Since Boot: 12000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7A1001
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-8208/DVTFoundation/FoundationClassCategories/DVTNSKeyValueObserving.m:795
Details: Message sent to invalidated object: <DVTTextCompletionSession 0x7fbd342f6960>.
Backtrace for invalidation:
0 0x000000010a46989f -[DVTInvalidationMixIn invalidate] (in DVTFoundation)
1 0x000000010aa51b73 -[DVTTextCompletionController _dismissAndInvalidateCurrentSession] (in DVTKit)
2 0x000000010aa4f5bf -[DVTTextCompletionController textViewSelectionChanging] (in DVTKit)
3 0x000000010aa4f532 -[DVTCompletingTextView setSelectedRanges:affinity:stillSelecting:] (in DVTKit)
4 0x000000010aa75d1f -[DVTSourceTextView setSelectedRanges:affinity:stillSelecting:] (in DVTKit)
5 0x000000010aa4f422 -[DVTCompletingTextView setSelectedRange:] (in DVTKit)
6 0x000000010aa75bac -[DVTSourceTextView setSelectedRange:] (in DVTKit)
7 0x00007fff91c06a55 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
8 0x00007fff91d77903 _NSSetRangeValueAndNotify (in Foundation)
9 0x0000000117304ac3 -[MPXTextViewSelectionDecorator updateTextViewSelectedRange] (in MPXSelectionCore)
10 0x00000001173046ba -[MPXTextViewSelectionDecorator scrollViewDidScroll:] (in MPXSelectionCore)
11 0x00007fff90763a0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
12 0x00007fff9076399f ___CFXRegistrationPost_block_invoke (in CoreFoundation)
13 0x00007fff90763917 _CFXRegistrationPost (in CoreFoundation)
14 0x00007fff90763682 ___CFXNotificationPost_block_invoke (in CoreFoundation)
15 0x00007fff90720442 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
16 0x00007fff9071f695 _CFXNotificationPost (in CoreFoundation)
17 0x00007fff91c0631a -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
18 0x000000010a5700c8 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
19 0x00007fff96bcb2a1 -[NSView _postBoundsChangeNotification] (in AppKit)
20 0x00007fff96bcb186 -[NSView translateOriginToPoint:] (in AppKit)
21 0x00007fff96bc93ad -[NSClipView _immediateScrollToPoint:] (in AppKit)
22 0x00007fff96bc8e08 -[NSClipView scrollToPoint:] (in AppKit)
23 0x00007fff96c0681c -[NSScrollView scrollClipView:toPoint:] (in AppKit)
24 0x00007fff96badf27 -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] (in AppKit)
25 0x00007fff96bcece7 -[NSClipView _scrollRectToVisible:fromView:animateScroll:flashScrollerKnobs:] (in AppKit)
26 0x00007fff96c93ccb -[NSView scrollRectToVisible:] (in AppKit)
27 0x00007fff96bf226c -[NSTableView tile] (in AppKit)
28 0x00007fff96bdf2db -[NSTableView bounds] (in AppKit)
29 0x00007fff96aecab6 -[NSView(NSInternal) _setLayerNeedsDisplayInViewRect:] (in AppKit)
30 0x00007fff96aba9a6 NSViewSetNeedsDisplayInRect (in AppKit)
31 0x00007fff96aba5ee -[NSView setNeedsDisplayInRect:] (in AppKit)
32 0x00007fff96be9c78 -[NSTableView _tileAndRedisplayAll] (in AppKit)
33 0x00007fff96c93306 -[NSTableView sizeToFit] (in AppKit)
34 0x00007fff96c00e48 -[NSTableView _autoresizeToFitForHidingATableColumn:] (in AppKit)
35 0x00007fff96c00a23 -[NSTableView superviewFrameChanged:] (in AppKit)
36 0x00007fff91c461f7 NSKeyValueNotifyObserver (in Foundation)
37 0x00007fff91c45a67 NSKeyValueDidChange (in Foundation)
38 0x00007fff91c1239c -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
39 0x00007fff96ac5193 -[NSClipView setContentInsets:] (in AppKit)
40 0x00007fff96ac4591 -[NSScrollView _applyContentAreaLayout:] (in AppKit)
41 0x00007fff96ac323d -[NSScrollView tile] (in AppKit)
42 0x0000000117237d90 -[DVTTextCompletionListWindowController(FuzzyAutocomplete) _fa_windowDidLoad] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/FuzzyAutocomplete/FuzzyAutocomplete/DVTTextCompletionListWindowController+FuzzyAutocomplete.m:58 (in FuzzyAutocomplete)
43 0x00007fff96b527ab -[NSWindowController _windowDidLoad] (in AppKit)
44 0x00007fff96aef632 -[NSWindowController window] (in AppKit)
45 0x000000010aab39e3 -[DVTTextCompletionListWindowController window] (in DVTKit)
46 0x00000001172de9c8 -[DVTTextCompletionListWindowController(MPXAutocompleteAnimation) mpx_showWindowForTextFrame:explicitAnimation:] (in Multiplex)
47 0x000000010ab6bdb4 __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke (in DVTKit)
48 0x000000010ab6bfcb __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke194 (in DVTKit)
49 0x000000010a5a9ab4 __95-[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:]_block_invoke (in DVTFoundation)
50 0x000000010a5a8d76 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke183 (in DVTFoundation)
51 0x000000010a514c5f DVTInvokeWithStrongOwnership (in DVTFoundation)
52 0x000000010a37919f -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
53 0x00007fff91c461f7 NSKeyValueNotifyObserver (in Foundation)
54 0x00007fff91c45a67 NSKeyValueDidChange (in Foundation)
55 0x00007fff91c1239c -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
56 0x000000010ab6e9aa -[DVTTextCompletionSession _setFilteringPrefix:forceFilter:] (in DVTKit)
57 0x000000011722ec22 -[DVTTextCompletionSession(FuzzyAutocomplete) _fa_setFilteringPrefix:forceFilter:] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/FuzzyAutocomplete/FuzzyAutocomplete/DVTTextCompletionSession+FuzzyAutocomplete.m:353 (in FuzzyAutocomplete)
58 0x000000010ab6d9f0 __54-[DVTTextCompletionSession _ensureCompletionsUpToDate]_block_invoke (in DVTKit)
59 0x000000010ac2b77b __94-[DVTTextCompletionDataSource generateCompletionsForDocumentLocation:context:completionBlock:]_block_invoke_3 (in DVTKit)
60 0x000000010a5d2f52 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke (in DVTFoundation)
61 0x00007fff9076d24c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
62 0x00007fff9074cb65 __CFRunLoopDoBlocks (in CoreFoundation)
63 0x00007fff9074c8cb __CFRunLoopRun (in CoreFoundation)
64 0x00007fff9074bd38 CFRunLoopRunSpecific (in CoreFoundation)
65 0x00007fff92fa1d55 RunCurrentEventLoopInMode (in HIToolbox)
66 0x00007fff92fa1b8f ReceiveNextEventCommon (in HIToolbox)
67 0x00007fff92fa19cf _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
68 0x00007fff96adef3a _DPSNextEvent (in AppKit)
69 0x00007fff96ade369 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
70 0x000000010ab6949b -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
71 0x00007fff96ad2ecc -[NSApplication run] (in AppKit)
72 0x00007fff96a9c162 NSApplicationMain (in AppKit)
73 0x00007fff92b875ad start (in libdyld.dylib)
Object: <DVTTextCompletionSession: 0x7fbd342f6960>
Method: -dvt_newObserverForKeyPath:options:owner:withHandlerBlock:
Thread: <NSThread: 0x7fbd3bd199f0>{number = 1, name = main}
Hints: None
Backtrace:
0 0x000000010b9ce904 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x000000010a59622e _DVTAssertionHandler (in DVTFoundation)
2 0x000000010a596445 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000010a378d16 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
4 0x000000010aab700d -[DVTTextCompletionInlinePreviewController showInlinePreview] (in DVTKit)
5 0x000000010ab6be38 __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke (in DVTKit)
6 0x000000010ab6bfcb __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke194 (in DVTKit)
7 0x000000010a5a9ab4 __95-[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:]_block_invoke (in DVTFoundation)
8 0x000000010a5a8d76 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke183 (in DVTFoundation)
9 0x000000010a514c5f DVTInvokeWithStrongOwnership (in DVTFoundation)
10 0x000000010a37919f -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
11 0x00007fff91c461f7 NSKeyValueNotifyObserver (in Foundation)
12 0x00007fff91c45a67 NSKeyValueDidChange (in Foundation)
13 0x00007fff91c1239c -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
14 0x000000010ab6e9aa -[DVTTextCompletionSession _setFilteringPrefix:forceFilter:] (in DVTKit)
15 0x000000011722ec22 -[DVTTextCompletionSession(FuzzyAutocomplete) _fa_setFilteringPrefix:forceFilter:] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/FuzzyAutocomplete/FuzzyAutocomplete/DVTTextCompletionSession+FuzzyAutocomplete.m:353 (in FuzzyAutocomplete)
16 0x000000010ab6d9f0 __54-[DVTTextCompletionSession _ensureCompletionsUpToDate]_block_invoke (in DVTKit)
17 0x000000010ac2b77b __94-[DVTTextCompletionDataSource generateCompletionsForDocumentLocation:context:completionBlock:]_block_invoke_3 (in DVTKit)
18 0x000000010a5d2f52 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke (in DVTFoundation)
19 0x00007fff9076d24c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
20 0x00007fff9074cb65 __CFRunLoopDoBlocks (in CoreFoundation)
21 0x00007fff9074c8cb __CFRunLoopRun (in CoreFoundation)
22 0x00007fff9074bd38 CFRunLoopRunSpecific (in CoreFoundation)
23 0x00007fff92fa1d55 RunCurrentEventLoopInMode (in HIToolbox)
24 0x00007fff92fa1b8f ReceiveNextEventCommon (in HIToolbox)
25 0x00007fff92fa19cf _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
26 0x00007fff96adef3a _DPSNextEvent (in AppKit)
27 0x00007fff96ade369 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
28 0x000000010ab6949b -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
29 0x00007fff96ad2ecc -[NSApplication run] (in AppKit)
30 0x00007fff96a9c162 NSApplicationMain (in AppKit)
31 0x00007fff92b875ad start (in libdyld.dylib)
abort() called
Application Specific Signatures:
[owner isValid]
Global Trace Buffer (reverse chronological seconds):
60.203961 CFNetwork 0x00007fff8710307b TCP Conn 0x7fbd3bfe45c0 SSL Handshake DONE
60.847927 CFNetwork 0x00007fff87102f57 TCP Conn 0x7fbd3bfe45c0 starting SSL negotiation
60.850868 CFNetwork 0x00007fff87101927 TCP Conn 0x7fbd3bfe45c0 complete. fd: 49, err: 0
60.855819 CFNetwork 0x00007fff87190121 TCP Conn 0x7fbd3bfe45c0 event 1. err: 0
61.171634 CFNetwork 0x00007fff87100bf7 TCP Conn 0x7fbd3bfe45c0 started
61.232322 CFNetwork 0x00007fff870c475e Creating default cookie storage with process/bundle identifier
61.232322 CFNetwork 0x00007fff870c46f6 Faulting in CFHTTPCookieStorage singleton
61.232322 CFNetwork 0x00007fff870c4585 Faulting in NSHTTPCookieStorage singleton
61.236389 CFNetwork 0x00007fff871c23b4 NSURLConnection finished with error - code -1100
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8bf400ae __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff83bf3500 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8b32d37b abort + 129
3 com.apple.dt.IDEKit 0x000000010b9ce4fb +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1481
4 com.apple.dt.IDEKit 0x000000010b9ceadb -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1202
5 com.apple.dt.DVTFoundation 0x000000010a59622e _DVTAssertionHandler + 562
6 com.apple.dt.DVTFoundation 0x000000010a596445 _DVTAssertionFailureHandler + 407
7 com.apple.dt.DVTFoundation 0x000000010a378d16 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] + 572
8 com.apple.dt.DVTKit 0x000000010aab700d -[DVTTextCompletionInlinePreviewController showInlinePreview] + 429
9 com.apple.dt.DVTKit 0x000000010ab6be38 __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke + 700
10 com.apple.dt.DVTKit 0x000000010ab6bfcb __54-[DVTTextCompletionSession showCompletionsExplicitly:]_block_invoke194 + 115
11 com.apple.dt.DVTFoundation 0x000000010a5a9ab4 __95-[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:]_block_invoke + 91
12 com.apple.dt.DVTFoundation 0x000000010a5a8d76 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke183 + 83
13 com.apple.dt.DVTFoundation 0x000000010a514c5f DVTInvokeWithStrongOwnership + 75
14 com.apple.dt.DVTFoundation 0x000000010a37919f -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] + 320
15 com.apple.Foundation 0x00007fff91c461f7 NSKeyValueNotifyObserver + 379
16 com.apple.Foundation 0x00007fff91c45a67 NSKeyValueDidChange + 457
17 com.apple.Foundation 0x00007fff91c1239c -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
18 com.apple.dt.DVTKit 0x000000010ab6e9aa -[DVTTextCompletionSession _setFilteringPrefix:forceFilter:] + 3554
19 io.github.FuzzyAutocomplete 0x000000011722ec22 -[DVTTextCompletionSession(FuzzyAutocomplete) _fa_setFilteringPrefix:forceFilter:] + 686 (DVTTextCompletionSession+FuzzyAutocomplete.m:372)
20 com.apple.dt.DVTKit 0x000000010ab6d9f0 __54-[DVTTextCompletionSession _ensureCompletionsUpToDate]_block_invoke + 298
21 com.apple.dt.DVTKit 0x000000010ac2b77b __94-[DVTTextCompletionDataSource generateCompletionsForDocumentLocation:context:completionBlock:]_block_invoke_3 + 92
22 com.apple.dt.DVTFoundation 0x000000010a5d2f52 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke + 72
23 com.apple.CoreFoundation 0x00007fff9076d24c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
24 com.apple.CoreFoundation 0x00007fff9074cb65 __CFRunLoopDoBlocks + 341
25 com.apple.CoreFoundation 0x00007fff9074c8cb __CFRunLoopRun + 2347
26 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
27 com.apple.HIToolbox 0x00007fff92fa1d55 RunCurrentEventLoopInMode + 235
28 com.apple.HIToolbox 0x00007fff92fa1b8f ReceiveNextEventCommon + 432
29 com.apple.HIToolbox 0x00007fff92fa19cf _BlockUntilNextEventMatchingListInModeWithFilter + 71
30 com.apple.AppKit 0x00007fff96adef3a _DPSNextEvent + 1067
31 com.apple.AppKit 0x00007fff96ade369 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
32 com.apple.dt.DVTKit 0x000000010ab6949b -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 247
33 com.apple.AppKit 0x00007fff96ad2ecc -[NSApplication run] + 682
34 com.apple.AppKit 0x00007fff96a9c162 NSApplicationMain + 1176
35 libdyld.dylib 0x00007fff92b875ad start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bf410a2 kevent_qos + 10
1 libdispatch.dylib 0x00007fff8c6de1ad _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff8c6dde15 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff91c240f9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.apple.DTDeviceKitBase 0x0000000112bfe32a -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 1103
7 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
8 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
10 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8bf40222 __select + 10
1 com.apple.CoreFoundation 0x00007fff9078a29a __CFSocketManager + 762
2 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
4 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff91c240f9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.apple.DTDeviceKitBase 0x0000000112bef360 +[DTDKRemoteDeviceConnection startServiceBrowsers] + 213
7 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
8 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
10 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 5:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff870c7c2d +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
7 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
9 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 6:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff96c34eed _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 7:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff91c240f9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.apple.Foundation 0x00007fff91c23fd8 -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x000000011d6c2061 -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
9 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
11 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8bf3ff5e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff83bf173d _pthread_cond_wait + 767
2 com.apple.Xcode.DevToolsCore 0x000000011269861f -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450
3 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
4 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
6 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8bf3ff5e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff83bf173d _pthread_cond_wait + 767
2 com.apple.Xcode.DevToolsCore 0x000000011269861f -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450
3 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
4 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
6 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8bf3ff5e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff83bf173d _pthread_cond_wait + 767
2 com.apple.Xcode.DevToolsCore 0x000000011269861f -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450
3 com.apple.Foundation 0x00007fff91c35084 __NSThread__start__ + 1351
4 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
6 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff8bf4078a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff83bf058c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff83bee375 start_wqthread + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff8bf3ac96 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bf3a0d7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9074d024 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9074c4ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9074bd38 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff9078d751 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff8737669a SpotlightQueryThread(void*) + 346
7 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
9 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff8bf402b2 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8b34ea75 nanosleep + 199
2 com.apple.CoreSymbolication 0x00007fff8a0e1b5f 0x7fff8a0cf000 + 76639
3 libsystem_pthread.dylib 0x00007fff83bf09b1 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff83bf092e _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff83bee385 thread_start + 13
- (unsigned long long)leadingWhitespacePositionsForLine:(unsigned long long)arg1;
passing the line number should be the fix.
Per the comment on #32.
When having Multiplex installed, Xcode crashed very often.
After I uninstalled Multiplex Xcode stopped crashing
Command+Click doesn't work.
All commands on the Usage section doesn't work.
If there are n lines on the pasteboard, and n selections, each line should be pasted uniquely at the selection.
• Text is "Quick Add Next"
• Belongs in Find menu
• Adds the next instance of the currently selected word as a selection
• Should only be enabled when the contents of all selection's text is the same.
Installation is starting but few second after indicator rollbacks to initial state
Xcode version 7.1
Package managed 1.1.10
I'm just opening this one to follow-up and see if Alcatraz one day support projects with pods or support downloading binaries.
They seem to have a workaround for projects with Pods in alcatraz/alcatraz-packages#376
Both cause bugs when you try and modify the selection in a transaction following the move to beginning/end of line.
When Multiplex is installed, I loose the Xcode feature to do ⌘+click on an object to display it declaration/sources. The feature is moved to ⌥+click but this key is user to another feature which is not accessible with Multiplex installed.
There's no reason to not do this...if you paste in something that's formatted for another indentation level it just looks wrong and it's easy enough to auto indent.
All of these methods use the old range-unionization strategy and don't track origins properly.
Application Specific Information:
NSViewBoundsDidChangeNotification
ProductBuildVersion: 7A1001
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-8208/DVTKit/TextCompletion/DVTCompletingTextView.m:1211
Details: Attempt to select an invalid range of text: {10426, 1278}. Text length: 10433. (Please file a Radar. OK to Continue from here.)
Object: <DVTSourceTextView: 0x7fbac966b1f0>
Method: -setSelectedRange:
Thread: <NSThread: 0x7fbac36197c0>{number = 1, name = main}
Hints: None
Backtrace:
0 0x0000000111084904 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x000000010fc4e22e _DVTAssertionHandler (in DVTFoundation)
2 0x000000010fc4e445 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001101073da -[DVTCompletingTextView setSelectedRange:] (in DVTKit)
4 0x000000011012dbac -[DVTSourceTextView setSelectedRange:] (in DVTKit)
5 0x00007fff8d07a835 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
6 0x00007fff8d1eb843 _NSSetRangeValueAndNotify (in Foundation)
7 0x000000011c861ac3 -[MPXTextViewSelectionDecorator updateTextViewSelectedRange] at /Users/kolin/Multiplex/Multiplex/Modules/MPXSelectionCore/MPXSelectionCore/MPXTextViewSelectionDecorator.m:159 (in MPXSelectionCore)
8 0x000000011c8616ba -[MPXTextViewSelectionDecorator scrollViewDidScroll:] at /Users/kolin/Multiplex/Multiplex/Modules/MPXSelectionCore/MPXSelectionCore/MPXTextViewSelectionDecorator.m:154 (in MPXSelectionCore)
9 0x00007fff90388c9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
10 0x00007fff90388c2f ___CFXRegistrationPost_block_invoke (in CoreFoundation)
11 0x00007fff90388ba7 _CFXRegistrationPost (in CoreFoundation)
12 0x00007fff90388912 ___CFXNotificationPost_block_invoke (in CoreFoundation)
13 0x00007fff903456d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
14 0x00007fff90344925 _CFXNotificationPost (in CoreFoundation)
15 0x00007fff8d07a0fa -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
16 0x000000010fc280c8 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
17 0x00007fff958ad0fd -[NSView _postBoundsChangeNotification] (in AppKit)
18 0x00007fff958acfe2 -[NSView translateOriginToPoint:] (in AppKit)
19 0x00007fff958abbbc -[NSClipView _immediateScrollToPoint:] (in AppKit)
20 0x00007fff958aac64 -[NSClipView scrollToPoint:] (in AppKit)
21 0x00007fff958e8678 -[NSScrollView scrollClipView:toPoint:] (in AppKit)
22 0x00007fff9588fd83 -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] (in AppKit)
23 0x00007fff9588f511 -[NSClipView _reflectDocumentViewFrameChange] (in AppKit)
24 0x00007fff957ec5b2 -[NSView _postFrameChangeNotification] (in AppKit)
25 0x00007fff957e7373 -[NSView setFrameSize:] (in AppKit)
26 0x00007fff95888ea4 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] (in AppKit)
27 0x00007fff95888b7c -[NSTextView setFrameSize:] (in AppKit)
28 0x000000011012ecaa -[DVTSourceTextView setFrameSize:] (in DVTKit)
29 0x00007fff958881af -[NSTextView setConstrainedFrameSize:] (in AppKit)
30 0x00007fff94cabeaa -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] (in UIFoundation)
31 0x00007fff94bc9192 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in UIFoundation)
32 0x00000001102903d6 -[DVTFoldingLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in DVTKit)
33 0x00007fff94bc9204 -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] (in UIFoundation)
34 0x00007fff94c11e80 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] (in UIFoundation)
35 0x00007fff94c1195e -[NSTextStorage processEditing] (in UIFoundation)
36 0x00000001101124db -[DVTTextStorage processEditing] (in DVTKit)
37 0x00007fff94c11593 -[NSTextStorage endEditing] (in UIFoundation)
38 0x000000011011219d -[DVTTextStorage endEditing] (in DVTKit)
39 0x00007fff9596acbc -[NSTextView insertText:replacementRange:] (in AppKit)
40 0x0000000110163530 -[DVTCompletingTextView insertText:replacementRange:] (in DVTKit)
41 0x000000011c8390a3 __57-[DVTSourceTextView(MPXEditorExtensions) deleteBackward:]_block_invoke at /Users/kolin/Multiplex/Multiplex/Categories/DVTSourceTextView+MPXEditorExtensions.m:250 (in Multiplex)
42 0x000000011c85eb27 -[MPXSelectionManager mapSelectionsWithMovementDirection:modifyingSelections:usingBlock:] at /Users/kolin/Multiplex/Multiplex/Modules/MPXSelectionCore/MPXSelectionCore/MPXSelectionManager.m:228 (in MPXSelectionCore)
43 0x000000011c8386bd -[DVTSourceTextView(MPXEditorExtensions) deleteBackward:] at /Users/kolin/Multiplex/Multiplex/Categories/DVTSourceTextView+MPXEditorExtensions.m:248 (in Multiplex)
44 0x00007fff9598ad6f -[NSTextView doCommandBySelector:] (in AppKit)
45 0x000000011016fd5c -[DVTCompletingTextView doCommandBySelector:] (in DVTKit)
46 0x00007fff9598ac86 -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] (in AppKit)
47 0x00007fff959669a1 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] (in AppKit)
48 0x00007fff95970027 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke978 (in AppKit)
49 0x00007fff9598ab46 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 (in AppKit)
50 0x00007fff9596fe99 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] (in AppKit)
51 0x00007fff9596fe23 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke966 (in AppKit)
52 0x00007fff9653ff55 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 (in HIToolbox)
53 0x00007fff9653eedd ___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke (in HIToolbox)
54 0x00007fff959691d4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke176 (in AppKit)
55 0x00007fff959685b4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 (in AppKit)
56 0x00007fff95968527 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] (in AppKit)
57 0x00007fff95968217 -[NSTextInputContext handleTSMEvent:completionHandler:] (in AppKit)
58 0x00007fff95967546 _NSTSMEventHandler (in AppKit)
59 0x00007fff964e798e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) (in HIToolbox)
60 0x00007fff964e6e18 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) (in HIToolbox)
61 0x00007fff964e6c7b SendEventToEventTargetWithOptions (in HIToolbox)
62 0x00007fff9653c319 SendTSMEvent_WithCompletionHandler (in HIToolbox)
63 0x00007fff9653c808 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke (in HIToolbox)
64 0x00007fff9653c65b __SendFilterTextEvent_WithCompletionHandler_block_invoke (in HIToolbox)
65 0x00007fff9653c369 SendTSMEvent_WithCompletionHandler (in HIToolbox)
66 0x00007fff9653c14b SendFilterTextEvent_WithCompletionHandler (in HIToolbox)
67 0x00007fff9653be24 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler (in HIToolbox)
68 0x00007fff9653bbd4 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 (in HIToolbox)
69 0x00007fff9653ba78 __utDeliverTSMEvent_WithCompletionHandler_block_invoke (in HIToolbox)
70 0x00007fff9653b86c TSMKeyEvent_WithCompletionHandler (in HIToolbox)
71 0x00007fff9653b562 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 (in HIToolbox)
72 0x00007fff9653b3cc __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 (in HIToolbox)
73 0x00007fff9653b10a __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 (in HIToolbox)
74 0x00007fff9653aecf __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke (in HIToolbox)
75 0x00007fff9653a576 TSMProcessRawKeyEventWithOptionsAndCompletionHandler (in HIToolbox)
76 0x00007fff959673f7 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke955 (in AppKit)
77 0x00007fff959660d9 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] (in AppKit)
78 0x00007fff95965dd3 -[NSTextInputContext _handleEvent:options:completionHandler:] (in AppKit)
79 0x00007fff959658a6 -[NSTextInputContext handleEvent:] (in AppKit)
80 0x00007fff959657af -[NSView interpretKeyEvents:] (in AppKit)
81 0x00007fff959655da -[NSTextView keyDown:] (in AppKit)
82 0x00007fff95f88b79 -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
83 0x00007fff959cdb8d -[NSWindow sendEvent:] (in AppKit)
84 0x00000001110ab31e -[IDEWorkspaceWindow sendEvent:] (in IDEKit)
85 0x00007fff9594e259 -[NSApplication sendEvent:] (in AppKit)
86 0x0000000110e61ae9 -[IDEApplication sendEvent:] (in IDEKit)
87 0x00007fff957b4d9a -[NSApplication run] (in AppKit)
88 0x00007fff9577dfbe NSApplicationMain (in AppKit)
89 0x00007fff9c4c15ad start (in libdyld.dylib)
abort() called
Application Specific Signatures:
0
Global Trace Buffer (reverse chronological seconds):
57.004915 CFNetwork 0x00007fff99968163 TCP Conn 0x7fbac875bf40 SSL Handshake DONE
57.475118 CFNetwork 0x00007fff9996803f TCP Conn 0x7fbac875bf40 starting SSL negotiation
57.475298 CFNetwork 0x00007fff99966a0f TCP Conn 0x7fbac875bf40 complete. fd: 44, err: 0
57.475489 CFNetwork 0x00007fff999f51ad TCP Conn 0x7fbac875bf40 event 1. err: 0
58.954685 CFNetwork 0x00007fff99965cdf TCP Conn 0x7fbac875bf40 started
59.012332 CFNetwork 0x00007fff9992989e Creating default cookie storage with process/bundle identifier
59.012332 CFNetwork 0x00007fff99929836 Faulting in CFHTTPCookieStorage singleton
59.012332 CFNetwork 0x00007fff999296c5 Faulting in NSHTTPCookieStorage singleton
59.015233 CFNetwork 0x00007fff99a26d38 NSURLConnection finished with error - code -1100
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9f7950ae __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9c7ef500 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff9baeb37b abort + 129
3 com.apple.dt.IDEKit 0x00000001110844fb +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1481
4 com.apple.dt.IDEKit 0x0000000111084adb -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1202
5 com.apple.dt.DVTFoundation 0x000000010fc4e22e _DVTAssertionHandler + 562
6 com.apple.dt.DVTFoundation 0x000000010fc4e445 _DVTAssertionFailureHandler + 407
7 com.apple.dt.DVTKit 0x00000001101073da -[DVTCompletingTextView setSelectedRange:] + 182
8 com.apple.dt.DVTKit 0x000000011012dbac -[DVTSourceTextView setSelectedRange:] + 52
9 com.apple.Foundation 0x00007fff8d07a835 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 1049
10 com.apple.Foundation 0x00007fff8d1eb843 _NSSetRangeValueAndNotify + 286
11 com.kolinkrewinkel.MPXSelectionCore 0x000000011c861ac3 -[MPXTextViewSelectionDecorator updateTextViewSelectedRange] + 1011 (MPXTextViewSelectionDecorator.m:169)
12 com.kolinkrewinkel.MPXSelectionCore 0x000000011c8616ba -[MPXTextViewSelectionDecorator scrollViewDidScroll:] + 58 (MPXTextViewSelectionDecorator.m:156)
13 com.apple.CoreFoundation 0x00007fff90388c9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
14 com.apple.CoreFoundation 0x00007fff90388c2f ___CFXRegistrationPost_block_invoke + 63
15 com.apple.CoreFoundation 0x00007fff90388ba7 _CFXRegistrationPost + 407
16 com.apple.CoreFoundation 0x00007fff90388912 ___CFXNotificationPost_block_invoke + 50
17 com.apple.CoreFoundation 0x00007fff903456d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
18 com.apple.CoreFoundation 0x00007fff90344925 _CFXNotificationPost + 693
19 com.apple.Foundation 0x00007fff8d07a0fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
20 com.apple.dt.DVTFoundation 0x000000010fc280c8 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698
21 com.apple.AppKit 0x00007fff958ad0fd -[NSView _postBoundsChangeNotification] + 175
22 com.apple.AppKit 0x00007fff958acfe2 -[NSView translateOriginToPoint:] + 287
23 com.apple.AppKit 0x00007fff958abbbc -[NSClipView _immediateScrollToPoint:] + 3760
24 com.apple.AppKit 0x00007fff958aac64 -[NSClipView scrollToPoint:] + 241
25 com.apple.AppKit 0x00007fff958e8678 -[NSScrollView scrollClipView:toPoint:] + 75
26 com.apple.AppKit 0x00007fff9588fd83 -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1692
27 com.apple.AppKit 0x00007fff9588f511 -[NSClipView _reflectDocumentViewFrameChange] + 128
28 com.apple.AppKit 0x00007fff957ec5b2 -[NSView _postFrameChangeNotification] + 196
29 com.apple.AppKit 0x00007fff957e7373 -[NSView setFrameSize:] + 2199
30 com.apple.AppKit 0x00007fff95888ea4 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 724
31 com.apple.AppKit 0x00007fff95888b7c -[NSTextView setFrameSize:] + 104
32 com.apple.dt.DVTKit 0x000000011012ecaa -[DVTSourceTextView setFrameSize:] + 45
33 com.apple.AppKit 0x00007fff958881af -[NSTextView setConstrainedFrameSize:] + 639
34 com.apple.UIFoundation 0x00007fff94cabeaa -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1073
35 com.apple.UIFoundation 0x00007fff94bc9192 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 849
36 com.apple.dt.DVTKit 0x00000001102903d6 -[DVTFoldingLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 993
37 com.apple.UIFoundation 0x00007fff94bc9204 -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] + 47
38 com.apple.UIFoundation 0x00007fff94c11e80 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 152
39 com.apple.UIFoundation 0x00007fff94c1195e -[NSTextStorage processEditing] + 350
40 com.apple.dt.DVTKit 0x00000001101124db -[DVTTextStorage processEditing] + 82
41 com.apple.UIFoundation 0x00007fff94c11593 -[NSTextStorage endEditing] + 111
42 com.apple.dt.DVTKit 0x000000011011219d -[DVTTextStorage endEditing] + 652
43 com.apple.AppKit 0x00007fff9596acbc -[NSTextView insertText:replacementRange:] + 2657
44 com.apple.dt.DVTKit 0x0000000110163530 -[DVTCompletingTextView insertText:replacementRange:] + 146
45 com.kolinkrewinkel.Multiplex 0x000000011c8390a3 __57-[DVTSourceTextView(MPXEditorExtensions) deleteBackward:]_block_invoke + 2467 (DVTSourceTextView+MPXEditorExtensions.m:315)
46 com.kolinkrewinkel.MPXSelectionCore 0x000000011c85eb27 -[MPXSelectionManager mapSelectionsWithMovementDirection:modifyingSelections:usingBlock:] + 935 (MPXSelectionManager.m:243)
47 com.kolinkrewinkel.Multiplex 0x000000011c8386bd -[DVTSourceTextView(MPXEditorExtensions) deleteBackward:] + 189 (DVTSourceTextView+MPXEditorExtensions.m:325)
48 com.apple.AppKit 0x00007fff9598ad6f -[NSTextView doCommandBySelector:] + 195
49 com.apple.dt.DVTKit 0x000000011016fd5c -[DVTCompletingTextView doCommandBySelector:] + 268
50 com.apple.AppKit 0x00007fff9598ac86 -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] + 118
51 com.apple.AppKit 0x00007fff959669a1 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1867
52 com.apple.AppKit 0x00007fff95970027 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke978 + 335
53 com.apple.AppKit 0x00007fff9598ab46 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 95
54 com.apple.AppKit 0x00007fff9596fe99 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
55 com.apple.AppKit 0x00007fff9596fe23 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke966 + 321
56 com.apple.HIToolbox 0x00007fff9653ff55 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
57 com.apple.HIToolbox 0x00007fff9653eedd ___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke + 108
58 com.apple.AppKit 0x00007fff959691d4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke176 + 2866
59 com.apple.AppKit 0x00007fff959685b4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
60 com.apple.AppKit 0x00007fff95968527 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
61 com.apple.AppKit 0x00007fff95968217 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3173
62 com.apple.AppKit 0x00007fff95967546 _NSTSMEventHandler + 324
63 com.apple.HIToolbox 0x00007fff964e798e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231
64 com.apple.HIToolbox 0x00007fff964e6e18 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404
65 com.apple.HIToolbox 0x00007fff964e6c7b SendEventToEventTargetWithOptions + 43
66 com.apple.HIToolbox 0x00007fff9653c319 SendTSMEvent_WithCompletionHandler + 417
67 com.apple.HIToolbox 0x00007fff9653c808 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
68 com.apple.HIToolbox 0x00007fff9653c65b __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
69 com.apple.HIToolbox 0x00007fff9653c369 SendTSMEvent_WithCompletionHandler + 497
70 com.apple.HIToolbox 0x00007fff9653c14b SendFilterTextEvent_WithCompletionHandler + 236
71 com.apple.HIToolbox 0x00007fff9653be24 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 284
72 com.apple.HIToolbox 0x00007fff9653bbd4 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
73 com.apple.HIToolbox 0x00007fff9653ba78 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
74 com.apple.HIToolbox 0x00007fff9653b86c TSMKeyEvent_WithCompletionHandler + 721
75 com.apple.HIToolbox 0x00007fff9653b562 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
76 com.apple.HIToolbox 0x00007fff9653b3cc __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 325
77 com.apple.HIToolbox 0x00007fff9653b10a __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 261
78 com.apple.HIToolbox 0x00007fff9653aecf __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 253
79 com.apple.HIToolbox 0x00007fff9653a576 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3077
80 com.apple.AppKit 0x00007fff959673f7 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke955 + 131
81 com.apple.AppKit 0x00007fff959660d9 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 131
82 com.apple.AppKit 0x00007fff95965dd3 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
83 com.apple.AppKit 0x00007fff959658a6 -[NSTextInputContext handleEvent:] + 109
84 com.apple.AppKit 0x00007fff959657af -[NSView interpretKeyEvents:] + 204
85 com.apple.AppKit 0x00007fff959655da -[NSTextView keyDown:] + 658
86 com.apple.AppKit 0x00007fff95f88b79 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
87 com.apple.AppKit 0x00007fff959cdb8d -[NSWindow sendEvent:] + 517
88 com.apple.dt.IDEKit 0x00000001110ab31e -[IDEWorkspaceWindow sendEvent:] + 156
89 com.apple.AppKit 0x00007fff9594e259 -[NSApplication sendEvent:] + 4382
90 com.apple.dt.IDEKit 0x0000000110e61ae9 -[IDEApplication sendEvent:] + 739
91 com.apple.AppKit 0x00007fff957b4d9a -[NSApplication run] + 796
92 com.apple.AppKit 0x00007fff9577dfbe NSApplicationMain + 1176
93 libdyld.dylib 0x00007fff9c4c15ad start + 1
A scroll gets triggered before the selections change but after the text is modified, leading to an out of bounds exception. We either need to just do a sanity check (the cheap fix) or somehow figure out how to defer the scroll or make the selection update happen beforehand. Alternatively, the -scrollViewDidScroll: side-effects could be wrapped in a dispatch_async(), another cheap fix.
Right now the actions are disabled and nothing happens with the shortcut keys.
Frequently, when pasting a string with linebreaks the cursor is placed incorrectly.
Hi,
Thanks for making this plugin, it implements one of my favorite features of SublimeText! I haven't been able to get it to work though. I tried installing it with Alcatraz but it didn't seem to work. Then I ran the installer, which worked. Now I try to select multiple instances of a word with the command+d shortcut but nothing gets selected. I know this isn't super helpful as a bug report, so if you can tell me where to look for logs that could point out what is going on I'd appreciate that.
D
Hi Kolin,
First of all, I'd like to say thanks for the plugin, really great work!
But it would be really nice, if the plugin didn't override default Xcode's shortcuts, like CMD-click
.
Is it possible to allow users to chose their own shortcuts for actions?
11/27/15 1:54:27.811 PM Xcode[37183]: Updating Repo: /Users/nebiros/Library/Application Support/Alcatraz/Plug-ins/Multiplex
11/27/15 1:54:30.444 PM Xcode[37183]: Git fetch output:
11/27/15 1:54:30.448 PM Xcode[37183]: Git reset output: fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
The dispatch is awful and doesn't work half the time.
When having Multiplex installed I've experienced the following issues:
The behavior mentioned above stops when uninstalling Multiplex
They occurred on Xcode 7.1. Have not tested on other versions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.