Another bug in Cocoa text system
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