• 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: Removing text container from layout manager stops delegate messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing text container from layout manager stops delegate messages


  • Subject: Re: Removing text container from layout manager stops delegate messages
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 2 Feb 2004 11:33:57 -0800

On Feb 1, 2004, at 2:41 AM, Aram Greenman wrote:

So I have a page-layout-type view where each page has its own text view, with all the text views sharing the same layout manager, pages are added and removed as needed, pretty much based on MultiplePageView in the TextEdit example code.

The problem is after I the first time I remove a page (i.e. remove a text container from the layout manager) my text view's delegate stops receiving certain events, including textViewDidChangeSelection: and textViewDidChangeTypingAttributes: (but it still receives textView:doCommandBySelector:). I added a textViewDidChangeSelection: method to the TextEdit example code and found it has the same problem. Any suggestions?

Please file a bug. The delegate should not need to do anything special for this. Note that other views receiving notifications need to listen to the NSTextViewWillChangeNotifyingTextViewNotification so as to change the object they are listening to if the first text view goes away; if that is the issue, it may be that listening to this notification will help.

Douglas Davidson
_______________________________________________
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: Removing text container from layout manager stops delegate messages
      • From: Aram Greenman <email@hidden>
References: 
 >Removing text container from layout manager stops delegate messages (From: Aram Greenman <email@hidden>)

  • Prev by Date: Re: Packager
  • Next by Date: Re: [SOLVED !] Disabling_Expose_for_some_windows,_some_day?
  • Previous by thread: Removing text container from layout manager stops delegate messages
  • Next by thread: Re: Removing text container from layout manager stops delegate messages
  • Index(es):
    • Date
    • Thread