The editor delicate that handles syntax colouring is having problems on my machine, but only periodically:
2012-06-19 11:10:51.694 ODBCQueryTool[3835:751f] Connected to ODBC datasouce
2012-06-19 11:10:55.779 ODBCQueryTool[3835:603] -[NSConcreteData caseInsensitiveCompare:]: unrecognized selector sent to instance 0x10065c030
2012-06-19 11:10:55.780 ODBCQueryTool[3835:603] An uncaught exception was raised
2012-06-19 11:10:55.782 ODBCQueryTool[3835:603] -[NSConcreteData caseInsensitiveCompare:]: unrecognized selector sent to instance 0x10065c030
2012-06-19 11:10:55.787 ODBCQueryTool[3835:603] (
0 CoreFoundation 0x00007fff8c43bf56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dd3bd5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c4c81be -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff8c428e23 ___forwarding___ + 371
4 CoreFoundation 0x00007fff8c428c38 _CF_forwarding_prep_0 + 232
5 ODBCQueryTool 0x0000000100004cc4 -[MyDocument(MyDocumentEditor) isValueTablename:] + 340
6 ODBCQueryTool 0x00000001000053a1 -[MyDocument(MyDocumentEditor) setAttributesForWord:] + 513
7 ODBCQueryTool 0x000000010000518c -[MyDocument(MyDocumentEditor) colorRange:] + 268
8 ODBCQueryTool 0x00000001000056c3 -[MyDocument(MyDocumentEditor) textViewDidChangeSelection:] + 723
9 Foundation 0x00007fff8d931d0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
10 CoreFoundation 0x00007fff8c3e47ba _CFXNotificationPost + 2634
11 Foundation 0x00007fff8d91dfc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
12 AppKit 0x00007fff9010f695 -[NSTextView(NSSharing) setSelectedRanges:affinity:stillSelecting:] + 6062
13 AppKit 0x00007fff8fff6a5a -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 408
14 AppKit 0x00007fff8fff68aa -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 155
15 AppKit 0x00007fff900cf583 -[NSTextStorage processEditing] + 205
16 AppKit 0x00007fff900d00fb -[NSTextStorage endEditing] + 81
17 AppKit 0x00007fff905544db -[NSTextView insertText:replacementRange:] + 2013
18 AppKit 0x00007fff90706411 -[NSTextInputContext handleTSMEvent:] + 2289
19 AppKit 0x00007fff9070807e _NSTSMEventHandler + 165
20 HIToolbox 0x00007fff8d0d6448 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1263
21 HIToolbox 0x00007fff8d0d5a54 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 446
22 HIToolbox 0x00007fff8d0ec8f3 SendEventToEventTarget + 76
23 HIToolbox 0x00007fff8d2c5549 SendTSMEvent + 35
24 HIToolbox 0x00007fff8d2c58d0 SendUnicodeTextAEToUnicodeDoc + 452
25 HIToolbox 0x00007fff8d2c545a TSMKeyEvent + 629
26 HIToolbox 0x00007fff8d10089a TSMProcessRawKeyEvent + 2350
27 AppKit 0x00007fff9070565e -[NSTextInputContext handleEvent:] + 639
28 AppKit 0x00007fff905cf298 -[NSView interpretKeyEvents:] + 248
29 AppKit 0x00007fff90547ec5 -[NSTextView keyDown:] + 691
30 AppKit 0x00007fff900257ac -[NSWindow sendEvent:] + 7430
31 AppKit 0x00007fff8ffbea55 -[NSApplication sendEvent:] + 5593
32 AppKit 0x00007fff8ff550c6 -[NSApplication run] + 555
33 AppKit 0x00007fff901d1244 NSApplicationMain + 867
34 ODBCQueryTool 0x0000000100003fd2 main + 34
35 ODBCQueryTool 0x0000000100001694 start + 52
)
2012-06-19 11:10:55.789 ODBCQueryTool[3835:603] Exception detected while handling key input.
2012-06-19 11:10:55.790 ODBCQueryTool[3835:603] *** NSRunStorage, _NSBlockNumberForIndex(): index (7) beyond array bounds (7)
2012-06-19 11:10:55.793 ODBCQueryTool[3835:603] (
0 CoreFoundation 0x00007fff8c43bf56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dd3bd5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c43bd8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff8c43bd14 +[NSException raise:format:] + 116
4 AppKit 0x00007fff8fff8d73 _NSBlockNumberForIndex + 86
5 AppKit 0x00007fff90008c4d _fastRunStorageElementAtIndex + 20
6 AppKit 0x00007fff90002a15 -[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 2517
7 AppKit 0x00007fff9001046e _NSFastFillAllLayoutHolesForGlyphRange + 1267
8 AppKit 0x00007fff8ffffda4 -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:] + 241
9 AppKit 0x00007fff9057cdef -[NSTextView(NSPrivate) _ensureLayoutCompleteToEndOfCharacterRange:] + 236
10 AppKit 0x00007fff905882fc -[NSTextView(NSSharing) didChangeText] + 198
11 AppKit 0x00007fff905544eb -[NSTextView insertText:replacementRange:] + 2029
12 AppKit 0x00007fff903af3d0 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 187
13 AppKit 0x00007fff9070572f -[NSTextInputContext handleEvent:] + 848
14 AppKit 0x00007fff905cf298 -[NSView interpretKeyEvents:] + 248
15 AppKit 0x00007fff90547ec5 -[NSTextView keyDown:] + 691
16 AppKit 0x00007fff900257ac -[NSWindow sendEvent:] + 7430
17 AppKit 0x00007fff8ffbea55 -[NSApplication sendEvent:] + 5593
18 AppKit 0x00007fff8ff550c6 -[NSApplication run] + 555
19 AppKit 0x00007fff901d1244 NSApplicationMain + 867
20 ODBCQueryTool 0x0000000100003fd2 main + 34
21 ODBCQueryTool 0x0000000100001694 start + 52
)
Has to do with an apparent API change, tableNames contains NSData's instead of NSStrings. Fixed!