Re: Cursor attribute won't save
Re: Cursor attribute won't save
- Subject: Re: Cursor attribute won't save
- From: Douglas Davidson <email@hidden>
- Date: Mon, 1 Mar 2004 09:48:25 -0800
On Feb 29, 2004, at 8:52 AM, Jeremy Dronfield wrote:
I posted a few days ago about tooltip attributes on text not being
saved, which is apparently a known issue. Now I've got another,
similar problem - this time with cursor attributes associated with
NSTextAttachments. What I'm doing is inserting checkboxes into text.
When the mouse is over a checkbox, the cursor should change from an
I-beam to an arrow. This works fine until the document is saved and
reloaded, then the cursor attribute is lost.
Again, is this a known bug? If so, it's a strange one, since the
cursor and attachment are both merely attributes on an attributed
string, and I've found that cursor attributes save in other
circumstances where I've used them (e.g. pointing hand cursor on
hyperlinked text).
This is essentially the same issue as your tooltip one, the problem
being that text attributes don't just save automatically--the kit has
to convert them into appropriate RTF keywords. Hyperlinks are a
separate case.
Douglas Davidson
_______________________________________________
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.