> On Mar 24, 2017, at 11:28 AM, Keary Suska <[email protected]> wrote: > > I don’t believe that is actually true. Attributes *can* apply to an empty > range.
It may be that the serialized form of the string in the nib doesn’t preserve the attributes. Or that they’re not preserved by the view when the user types the first character. (It’s been about eight years since I dealt with this problem…) > Alternatively, or additionally, I believe if you call setTypingAttributes: on > an empty text view that any new types text will use the specified attributes. Yes, you can do that too. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
