• 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: Insert text at end of Textview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Insert text at end of Textview


  • Subject: Re: Insert text at end of Textview
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 4 Oct 2002 17:58:38 +0200

On Friday, October 4, 2002, at 04:59 , Dan Sugalski wrote:

[[myTextView textStorage] appendAttributedString: @"blahblah"];
Unfortunately, that doesn't work with a textview, at least not in my
hands.

That's odd. Nothing at all happens? Or does something happen, but not what you want? (I do this myself in a number of places, and if it's not reliable I'd like to track down where and why)

I don't really know, but my guess is that what really happens is the blahblah is appended properly, but the view is not invalidated and thus not redrawn.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Insert text at end of Textview (From: Dan Sugalski <email@hidden>)

  • Prev by Date: Re: C to Objective-C
  • Next by Date: Re: modal dialogs
  • Previous by thread: Re: Insert text at end of Textview
  • Next by thread: Re: Insert text at end of Textview
  • Index(es):
    • Date
    • Thread