• 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
Style management in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Style management in NSTextView


  • Subject: Style management in NSTextView
  • From: Jean-Denis Muys <email@hidden>
  • Date: Fri, 28 May 2004 06:27:50 +0200
  • Resent-date: Fri, 28 May 2004 08:58:09 +0200
  • Resent-from: Jean-Denis Muys <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

Hi,

There are two related, but different things I want to do in an NSTextView. And I am getting lost in the complexity of the text system.

The first is to programmatically change some text attributes to some substring in the NSTextView, namely I want to make it bold, change its size and color.

The second is to append (or insert) an NSMutableAttributedString to the NSTextView, with all its attribute qualities, But the appendString: method takes an NSString, and I could not find a similar method which would take an NSAttributedString.

Any pointer would be helpful.

Thanks,

Jean-Denis
_______________________________________________
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: Style management in NSTextView
      • From: Daniel Todd Currie <email@hidden>
  • Prev by Date: Re: Code Guidelines
  • Next by Date: Re: Code Guidelines
  • Previous by thread: Re: Categories and Compiler Warnings
  • Next by thread: Re: Style management in NSTextView
  • Index(es):
    • Date
    • Thread