• 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
[newbie] Font attributes in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[newbie] Font attributes in NSTextView


  • Subject: [newbie] Font attributes in NSTextView
  • From: Jens Baumeister <email@hidden>
  • Date: Tue, 10 Sep 2002 00:32:26 +0200

Hi,

I'm trying something that's probably fairly simple, I just can't figure how to do it:

I have an NSTextView that'M addming lines to. I want some of these lines to be bold (and perhaps in italics) and others to be plain text. I've found out how to use NSAttributedString, but I cannot add an attributed string to a text view.

How would I do this?

----------------------------------
Jens Baumeister

programming: v. An activity similar to banging one's head against a wall,
but with fewer opportunities for reward.
_______________________________________________
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: [newbie] Font attributes in NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: CFMutableDictionary vs. NSMapTable
  • Next by Date: (newbie)RE: Book- Building cocoa applications..
  • Previous by thread: Re: CFMutableDictionary vs. NSMapTable
  • Next by thread: Re: [newbie] Font attributes in NSTextView
  • Index(es):
    • Date
    • Thread