• 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: NSTextView or NSTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView or NSTextField?


  • Subject: Re: NSTextView or NSTextField?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 16 Jun 2006 11:38:32 -0700
  • Thread-topic: NSTextView or NSTextField?

on 06/06/16 11:21, Douglas Davidson at email@hidden wrote:

>> - scroll vertically when needed.
>> - accept "return" and "tab" characters without using "opt" key.
>> - give me a notification or delegate message upon completion of each "edit":
>> (contiguous typing, cut operation, paste operation, etc.), like the editor
>> in Xcode.  Upon receiving this, I shall end an undo grouping and (unlike
>> Xcode) silently save their work.
>
> Sounds like you want to use NSTextView, but NSTextView automatically handles
> undo; you don't have to manage it.  You can get notification of various
> changes as the text view's delegate, and choose when to save the document.
>
> Douglas Davidson

Thanks, Douglas.  Is there a way to make an NSTextView accept tab and return
characters?  (Maybe I wasn't clear...I want the "return" key to put a
newline in the text, not end editing.)


 _______________________________________________
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

References: 
 >Re: NSTextView or NSTextField? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: How to draw text with fixed spaced font using arbitrary cpi
  • Next by Date: Re: NSTextView or NSTextField?
  • Previous by thread: Re: NSTextView or NSTextField?
  • Next by thread: Re: NSTextView or NSTextField?
  • Index(es):
    • Date
    • Thread