• 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
When do I have to update the typing attributes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When do I have to update the typing attributes?


  • Subject: When do I have to update the typing attributes?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 3 Oct 2006 13:04:46 -0400

The documentation for -[NSTextView setTypingAttributes:] says:

	Typing attributes are reset automatically whenever the selection
	changes. If you add any user actions that change text attributes,
	you should use this method to apply those attributes to a
	zero-length selection.

Is it unnecessary to change the typing attributes when there is a non- zero length selection? (The reason I ask is that it appears the - changeFont: action modifies the text storage and changes the typing attributes for a non-zero-length selection.)

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: When do I have to update the typing attributes?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Problem with Multiple Level Bindings
  • Next by Date: Re: serial comm with GPS, not quite an NMEA sentence
  • Previous by thread: Problem with Multiple Level Bindings
  • Next by thread: Re: When do I have to update the typing attributes?
  • Index(es):
    • Date
    • Thread