Removing lists from an attributed string?
Removing lists from an attributed string?
- Subject: Removing lists from an attributed string?
- From: Jim Correia <email@hidden>
- Date: Thu, 5 Oct 2006 18:42:36 -0400
What is the correct way to remove test lists from an attributed string?
If I remove NSParagraphStyleAttributeName from the range in question,
or apply the default paragraph style to the range in question, the
list markers are left behind as part of the text. Given that the
release note says "The visible elements of the list, including list
markers, will still appear in the text as they do for lists created
by hand today." this seems entirely expected.
However, when I use the popup in the text ruler to set the list style
to none, the markers *are* removed from the text.
What process does the text ruler use when the user sets the list
style to none?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden