• 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 read real text content (without 0xA added by wordwrap)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView read real text content (without 0xA added by wordwrap)


  • Subject: Re: NSTextView read real text content (without 0xA added by wordwrap)
  • From: Graham Cox <email@hidden>
  • Date: Tue, 27 Sep 2016 19:07:16 +1000

> On 27 Sep 2016, at 5:31 PM, Felipe Monteiro de Carvalho <email@hidden> wrote:
>
> But the resulting string contains line endings which are added in the
> places where the word-wrap takes places, and I need the raw text,
> without such added line endings.


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).

—Graham



_______________________________________________

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


  • Follow-Ups:
    • Re: NSTextView read real text content (without 0xA added by wordwrap)
      • From: Jens Alfke <email@hidden>
    • Re: NSTextView read real text content (without 0xA added by wordwrap)
      • From: Felipe Monteiro de Carvalho <email@hidden>
References: 
 >NSTextView read real text content (without 0xA added by wordwrap) (From: Felipe Monteiro de Carvalho <email@hidden>)

  • Prev by Date: Re: Stupid objective-c question
  • Next by Date: Re: NSTextView read real text content (without 0xA added by wordwrap)
  • Previous by thread: NSTextView read real text content (without 0xA added by wordwrap)
  • Next by thread: Re: NSTextView read real text content (without 0xA added by wordwrap)
  • Index(es):
    • Date
    • Thread