Lazy Attribute Fixing
Lazy Attribute Fixing
- Subject: Lazy Attribute Fixing
- From: "Josh Ferguson" <email@hidden>
- Date: Wed, 3 Jul 2002 13:58:57 -0500
- Thread-topic: Lazy Attribute Fixing
Sorry for this seemingly simple question, but I'm confused by the term "Lazy Attribute Fixing" in relation to my NSTextStorage Concrete sub-class. What exactly does this mean? I've only found reference to it in 2 places on the Apple website and neither of them really explain what lazy attribute fixing entails. If I return YES from fixesAttributesLazily, the TextView tries to access attributes beyond the length of the string. If I return NO, it tries to feed an invalid range into fixAttributesInRange. I know there's something wrong with my implementation, but I was hoping a good description of what lazy attribute fixing is would help me track down where I'm screwing up.
Thanks!
Josh
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.