Removing lists from an attributed string?

  • 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
  • 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
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today