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: Felipe Monteiro de Carvalho <email@hidden>
- Date: Tue, 27 Sep 2016 11:26:58 +0200
On Tue, Sep 27, 2016 at 11: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.
> (Indeed I just made a quick test case and I don’t see that happening).
What I am writing is a large cross-platform library, so indeed it
could be that the line endings were added by something else, I'll
recheck.
But to be sure I will test the same thing as you are testing, you are
reading the text via NSTextView.string ?
--
Felipe Monteiro de Carvalho
_______________________________________________
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