NSTextView All Weird-Like and Stuff
NSTextView All Weird-Like and Stuff
- Subject: NSTextView All Weird-Like and Stuff
- From: Sam Goldman <email@hidden>
- Date: Tue, 23 Oct 2001 01:48:45 -0700
I am using a NSTextView for user input and things are really getting
weird...
When I get the text from it and then try to use it in any way I get this
output:
2001-10-23 01:45:08.163 CocoaChat[1256] *** Assertion failure in
-[NSMutableRLEArray replaceObjectsInRange:withObject:length:],
String.subproj/NSAttributedString.m:1036
2001-10-23 01:45:08.170 CocoaChat[1256] Delete invalid attribute range 0,10
(length 5)
2001-10-23 01:45:18.008 CocoaChat[1256] *** Assertion failure in
-[NSMutableRLEArray objectAtIndex:effectiveRange:],
String.subproj/NSAttributedString.m:923
2001-10-23 01:45:18.009 CocoaChat[1256] Access invalid attribute location 4
(length 4)
2001-10-23 01:45:18.632 CocoaChat[1256] *** Assertion failure in
-[NSMutableRLEArray objectAtIndex:effectiveRange:],
String.subproj/NSAttributedString.m:923
2001-10-23 01:45:18.632 CocoaChat[1256] Access invalid attribute location 4
(length 4)
CocoaChat.app has exited with status 0.
I don't really do that much to it so I don't know what's causing it. I also
don't just want to post all my code, so if you know what this means or think
you can solve my problem, do tell! The text is there after I get it, but
when I try to delete it, it seems like it thinks it isn't there...
Thanks,
Sam