• 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
Detecting textView alignment changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting textView alignment changes


  • Subject: Detecting textView alignment changes
  • From: Matt Ball <email@hidden>
  • Date: Sat, 1 May 2004 15:27:53 -0400

I have an NSSegmentedControl in the toolbar of my app, which, when
pressed, changes the alignment of a textView. I need to know when a
user changes the textView's alignment using the menu so that I can
update the segmentedControl to reflect the new alignment. I also need
to know when the alignment has changed within a document (ie: on line
4, it is aligned to the right, but on line 5, it is centered. When the
user moves the cursor to line 5, I need to change the SegmentedControl
to reflect the new alignment). Is there some sort of NSNotification
that will help me accomplish this? Thanks.

-- Matt Ball
_______________________________________________
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: Detecting textView alignment changes
      • From: Matt Ball <email@hidden>
  • Prev by Date: Re: Parsing a HTML Page
  • Next by Date: Can't make IBOutlet connection in IB
  • Previous by thread: Re: OT? Why are list archive search results so lame?
  • Next by thread: Re: Detecting textView alignment changes
  • Index(es):
    • Date
    • Thread