• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Making an NSTextView plain text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making an NSTextView plain text


  • Subject: Making an NSTextView plain text
  • From: MT <email@hidden>
  • Date: Sun, 18 Jul 2004 12:50:39 +0100

Hi,

I'm trying to deformat a NSTextView, i.e. return it to plain text (like Apple Mail's 'Make Plain Text'), remove all formatting. I thought setRichText:NO would do it, but it doesn't.

I also tried getting the text with string: and setting it back when setRichText was still NO, again, formatting persists.

I suspect I am doing something wrong, but I can't think what.

Thanks for any help.

Moray
_______________________________________________
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.


  • Follow-Ups:
    • Re: Making an NSTextView plain text
      • From: Satoshi Matsumoto <email@hidden>
  • Prev by Date: Re: Rounding to two decimals
  • Next by Date: Re: Get the latest song pathname played by iTunes
  • Previous by thread: Re: Get the latest song pathname played by iTunes
  • Next by thread: Re: Making an NSTextView plain text
  • Index(es):
    • Date
    • Thread