Re: Removing lists from an attributed string?
Re: Removing lists from an attributed string?
- Subject: Re: Removing lists from an attributed string?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 5 Oct 2006 15:49:59 -0700
On Oct 5, 2006, at 3:42 PM, Jim Correia wrote:
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?
It removes them by hand. Sorry I don't have any better solution for
you; I hope to have something in the future.
Douglas Davidson
_______________________________________________
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