A correction: > Another potential approach: you might subclass the typesetter and override > -[NSTypesetter shouldBreakLineByHyphenatingBeforeCharacterAtIndex:] and > record the instances where super returns YES.
I forgot that NSTypesetter itself does not actually implement this method, so you can't call super. It's only provided to be implemented in subclasses. But you could still perhaps assume that when NSTypesetter calls this method, it intends to insert a hyphen. ~Martin Wierschin _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com