This seems to occur in any NSTextField that is selectable but not editable,
where the fieldEditor(NSTextView) refused to set it's string, dut to this:
diff -u -r1.114 NSTextView.m
--- NSTextView.m 29 Oct 2002 04:54:44 -0000 1.114
+++ NSTextView.m 2 Nov 2002 19:46:28 -0000
@@ -2255,8 +2255,8 @@
- (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange
replacementString: (NSString*)replacementString
{
if (_tf.is_editable == NO)
return NO;
... but then later on tries to access the string. There's a big warning
before this method that says it should always return NO when not editable
to make sure the user can't change the string, but simply commenting out
those two lines seems to work fine and there was no way that I could figure
out that would change the string.
Does anyone who might no more about this have any comments?