Re: NSTextView read real text content (without 0xA added by wordwrap)
Re: NSTextView read real text content (without 0xA added by wordwrap)
- Subject: Re: NSTextView read real text content (without 0xA added by wordwrap)
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 Sep 2016 10:07:26 -0700
> On Sep 27, 2016, at 2:07 AM, Graham Cox <email@hidden> wrote:
>
> Are you sure about that? I’ve never seen the text view add line endings to the underlying raw text - that’s just not how text layout works.
+1. I’ve been using NSTextView since 2001 and I know for a fact that it doesn’t insert meta-characters like that on its own. Its contents are the string that you gave it (plus user edits, of course.)
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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