• 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: [newbie] Question about NSText
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] Question about NSText


  • Subject: Re: [newbie] Question about NSText
  • From: Prachi Gauriar <email@hidden>
  • Date: Thu, 27 Jan 2005 09:25:10 -0500


On Jan 27, 2005, at 8:54 AM, whamoo wrote:

On 27/gen/05, at 12:52, The Karl Adam wrote:

You can start by reading the documentation on NSText, NSTextView,
NSString, and NSMutableString. Then you can come back here and ask a
new question.

P.S. The documentation for those 4 classes answers all your questions.

I've read the documentation, maybe i'm stupid, but i probably must use:

- (void)insertText:(id)aString
Inserts aString into the receiver’s text at the insertion point if there is one, otherwise replacing the selection. The inserted text is assigned the current typing attributes.



But i didn't understand how to make a insertion point.... I need an insertion point always at the end of my NSTextView.

<http://developer.apple.com/documentation/Cocoa/Conceptual/ TextArchitecture/Tasks/SimpleTasks.html#//apple_ref/doc/uid/20001797/ 57093>


-Prachi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [newbie] Question about NSText
      • From: whamoo <email@hidden>
References: 
 >Re: [newbie] Question about NSText (From: whamoo <email@hidden>)

  • Prev by Date: Highlightcolor when table isn't active
  • Next by Date: Re: [newbie] Question about NSText
  • Previous by thread: Re: [newbie] Question about NSText
  • Next by thread: Re: [newbie] Question about NSText
  • Index(es):
    • Date
    • Thread