• 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
Is the behavior of NSTextView's insertNewline documented anywhere?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is the behavior of NSTextView's insertNewline documented anywhere?


  • Subject: Is the behavior of NSTextView's insertNewline documented anywhere?
  • From: Peter Seibel <email@hidden>
  • Date: Tue, 9 Jan 2007 15:13:02 -0800

It's doing somme stuff behind my back that I don't want it to do, but I'm worried that my replacement, in my NSTextView subclass, is going to leave out some other stuff it does that I *do* want.

-Peter

P.S. The thing I've discovered that it does, BTW, that I don't want it doing is manipulating the textLists of the current NSParagraphStyle for me and trying to delete the list marker when . The last bit really baffles me--as far as I can tell even when I add NSTextLists to the textLists of a paragraph style, I'm still responsible for inserting any list markers I want into the actual text. So why on earth does NSTextView take it upon itself to try to delete anything? It appears that if you type two newlines at the end of a list it tries to un-nest one list level, stripping the NSTextList from the paragraph style and deleting back to the beginning of the line. If anyone can explain that I'd be grateful.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Is the behavior of NSTextView's insertNewline documented anywhere?
      • From: Martin Wierschin <email@hidden>
  • Prev by Date: Re: Organizing A File Into Multiple Files
  • Next by Date: Shadows & NSWindow question
  • Previous by thread: NSTextView vs NSScrollView problem
  • Next by thread: Re: Is the behavior of NSTextView's insertNewline documented anywhere?
  • Index(es):
    • Date
    • Thread