Thanks a lot, that did the trick!
On 14-Nov-08, at 3:29 PM, Douglas Davidson wrote:
On Nov 14, 2008, at 12:22 PM, chaitanya pandit wrote:
Try posting a NSTextDidChangeNotification with your text view as
the object, after you do setString:
That's probably not the best idea. If you want to fully integrate
your programmatic changes with user text changes, including undo and
notifications, call -shouldChangeTextInRange:replacementString:
before making the change, and if the value is YES, make the change,
then call -didChangeText.
Douglas Davidson
Jean-Nicolas Jolivet
[EMAIL PROTECTED]
http://www.silverscripting.com
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]