• 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
Re: Simple font question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple font question


  • Subject: Re: Simple font question
  • From: Isaac Sherman <email@hidden>
  • Date: Fri, 31 May 2002 12:03:21 -0400

on 5/31/02 11:43 AM, the method -(id)email@hidden:(id)
sender:@"Peter Schols"; returned:

> Hi,
>
> What is the easiest way to make selected text in an NSTextView bold (or
> italic)?
>

Select italic or Bold from the menu?

Seriously, though, look at NSFontManager. TextEdit uses NSFontManager's
addFontTrait for bold and italic, so that would probably be the way to go.

HTH,

--
Isaac Sherman
MotaSoft Software
_______________________________________________
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.

References: 
 >Simple font question (From: Peter Schols <email@hidden>)

  • Prev by Date: Simple font question
  • Next by Date: Re: NSURL question (Its working! Thanks for the help!)
  • Previous by thread: Simple font question
  • Next by thread: runtime/compile-time access to ivar names as strings
  • Index(es):
    • Date
    • Thread