• 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: textDidChange doesn't work with undo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textDidChange doesn't work with undo


  • Subject: Re: textDidChange doesn't work with undo
  • From: Mike Ferris <email@hidden>
  • Date: Wed, 4 Dec 2002 15:32:21 -0800

Just be aware of the difference here... The NSTextStorage notification happens for every change. The intent of textDidChange: is to be sent for direct user-initiated changed.

(By the way, I would concur that it seems a bug that Undo does not cause the user-editing notifications/delegations to happen.)

Mike Ferris

Begin forwarded message:

From: Koen van der Drift <email@hidden>
Date: Wed Dec 4, 2002 2:39:22 PM US/Pacific
To: Brian Webster <email@hidden>, email@hidden
Subject: Re: textDidChange doesn't work with undo

At 1:32 PM -0600 12/4/02, Brian Webster wrote:

Seems like a bug to me. You might try instead registering for a
notification sent by the underlying NSTextStorage object,
NSTextStorageDidProcessEditingNotification.


Thanks! That works. I'll just use that instead of textDidChange.

- Koen.
_______________________________________________
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.
_______________________________________________
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: 
 >Re: textDidChange doesn't work with undo (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: Cocoa and ... Pascal!!!
  • Next by Date: ANN: MOKit project starting up on SourceForge
  • Previous by thread: Re: textDidChange doesn't work with undo
  • Next by thread: updating NSView subclass
  • Index(es):
    • Date
    • Thread