• 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
Another bug in Cocoa text system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another bug in Cocoa text system


  • Subject: Another bug in Cocoa text system
  • From: Sergei Borodavkin <email@hidden>
  • Date: Tue, 21 Jun 2005 17:20:01 +0300

Hello!

Recently I've discovered a strange Cocoa text system behavior when layouting attributed string into 2 text containers. When there are 2 paragraphs, and the paragraph spacing is set (before or after paragraph - no matter), and the first paragraph fits exactly into the 1st container, and the other - into the second one, no layout happens in the 2nd container at all - it remains pretty clean!! However, when I set paragraph spacing back to zero, or change container sizes so that, for example, the first paragraph can't fit into the first container anymore, everything become looking good.

Any ideas on how to create a workaround for this problem will be greatly appreciated. I've prepared an example demonstrating this issue, so I can send it to everybody who is interested. Generally, it looks so that Cocoa text system works pretty well for TextEdit, but it doesn't fit for solving complex tasks at all.

Thanks in advance,

Sergei Borodavkin.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Another bug in Cocoa text system
      • From: Simon Strandgaard <email@hidden>
  • Prev by Date: Re: enable NSPopupButton focus and tab key
  • Next by Date: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Previous by thread: Re: Open Recent menus
  • Next by thread: Re: Another bug in Cocoa text system
  • Index(es):
    • Date
    • Thread