• 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: How do I use a NSTextBlock in an attributed string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I use a NSTextBlock in an attributed string?


  • Subject: Re: How do I use a NSTextBlock in an attributed string?
  • From: Peter Hudson <email@hidden>
  • Date: Fri, 10 Mar 2017 07:20:28 +0000

Yes, you've got the page I thought may be helpful. I hadn't really suggested it as a considered solution to your problem. I just thought I'd mention it in case you hadn't come across it.

Peter

> On 9 Mar 2017, at 23:43, Daryle Walker <email@hidden> wrote:
>
>
>> On Mar 9, 2017, at 11:59 AM, Peter Hudson <email@hidden> wrote:
>>
>> Hi Daryle
>>
>> I don’t know if you’ve come across this - but I found it quite useful.
>>
>>
>> Text Layout Programming Guide
>>
>> Just Google it and its on Apples site.
>>
>
> Is there a particular chapter and verse you’re looking at? I’ve already gone through the related guides. I’ve found only one applicable page (<https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/TextLayout/Articles/TextTables.html>), and it’s really about NSTextBlock’s table-related subclasses. It does not have enough information on NSTextBlock to help me. Importantly, is the problem I talked about, block configurations changing correctly unless the trailing paragraph is block-less, a problem with my understanding or a straight-up bug?
>
> I don’t know if the list will let this image through:
>
> <Screen Shot 2017-03-09 at 6.37.04 PM.png>
>
> I got this picture from loading a file into my app, selecting my Export command, choosing RTF, then using QuickLook on that file. The block outline is supposed to be only between the “Sender” line and the “U2Vu…” line, but it extents to the remainder of the file instead. For some reason, the fact that the “U2Vu…” line has no blocks in its paragraph style means to copy the previous paragraph’s block instead of being no-block-at-all.
>
> —
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com
>
_______________________________________________

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


References: 
 >Re: How do I use a NSTextBlock in an attributed string? (From: Peter Hudson <email@hidden>)

  • Prev by Date: Re: NSOutlineView isn't restoring persistent state for expanded/collapsed
  • Next by Date: Re: How do I use a NSTextBlock in an attributed string?
  • Previous by thread: Re: How do I use a NSTextBlock in an attributed string?
  • Next by thread: Re: Unicode filenames with Apple File System and UIManagedDocument
  • Index(es):
    • Date
    • Thread