• 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: NSTextField: Change Text Color at Insertion Point?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField: Change Text Color at Insertion Point?


  • Subject: Re: NSTextField: Change Text Color at Insertion Point?
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 8 Feb 2010 18:11:31 +0100


Am 08.02.2010 um 17:22 Uhr schrieb Alexander Heinz:

My question is this: let's say my user has already typed some text in black (or whatever color) and now wants to change the "active color" of the text at the insertion point, such that any text he or she types appears in the new color.

I think you will have to change the typing attributes fo the corresponding field editor.


See:

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/TextArchitecture/Concepts/TextFieldsAndViews.html

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/TextUILayer/Tasks/SetTextAttributes.html


Andreas _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTextField: Change Text Color at Insertion Point?
      • From: Alexander Heinz <email@hidden>
References: 
 >NSTextField: Change Text Color at Insertion Point? (From: Alexander Heinz <email@hidden>)

  • Prev by Date: NSTextField: Change Text Color at Insertion Point?
  • Next by Date: Re: always show warnings?
  • Previous by thread: NSTextField: Change Text Color at Insertion Point?
  • Next by thread: Re: NSTextField: Change Text Color at Insertion Point?
  • Index(es):
    • Date
    • Thread