• 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: I need a suggestion for making a "console" window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need a suggestion for making a "console" window


  • Subject: Re: I need a suggestion for making a "console" window
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 26 Apr 2004 01:25:08 -0400

On Apr 25, 2004, at 11:05 PM, Michael Heinz wrote:

On Apr 25, 2004, at 10:47 PM, Jonathan 'Wolf' Rentzsch wrote:

Michael Heinz, email@hidden, wrote:
1) I couldn't find a method that would allow me to just append text to
the existing contents of the textview. Is there a way to do that?

Try -(void)insertText:(id)aString

The NSTextView must be editable, however. This may be a deal-breaker.

Unfortunately, it is - it's meant to be output only.

I wonder - is it worthwhile to make it editable, do the insert, then turn off editing? Or would that have side effects?


NSTextStorage responds to the attributed string methods.. so add the text, and then inform the text view that the range has changed.
_______________________________________________
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: I need a suggestion for making a "console" window (From: "Jonathan 'Wolf' Rentzsch" <email@hidden>)
 >Re: I need a suggestion for making a "console" window (From: Michael Heinz <email@hidden>)

  • Prev by Date: Re: Internet Browsers.
  • Next by Date: Re: I need a suggestion for making a "console" window
  • Previous by thread: Re: I need a suggestion for making a "console" window
  • Next by thread: Re: I need a suggestion for making a "console" window
  • Index(es):
    • Date
    • Thread