Re: NSTextView, NSTextStorage, NSParagraph and lineHeight
Re: NSTextView, NSTextStorage, NSParagraph and lineHeight
- Subject: Re: NSTextView, NSTextStorage, NSParagraph and lineHeight
- From: Keith Renz <email@hidden>
- Date: Thu, 10 Oct 2002 21:03:22 -0400
- Resent-date: Thu, 10 Oct 2002 21:04:02 -0400
- Resent-from: Keith Renz <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: Cocoa-Dev List <email@hidden>
Okay, I did exactly that and now TextEdit exhibits the same problem as
my text view set programatically. So, to reiterate, I typed a bunch of
text in a new TextEdit window (several pages), selected all the text,
set the font to Courier 11pt, set the line spacing to 12 (anything less
that 13 exhibits this behavior) and clicked the line spacing "lock"
button. I didn't mess with the kerning. The text does in fact adjust
vertically to the smaller line spacing. And text selection highlighting
_is_ messed up. Try clicking and dragging down to create a selection,
and then, while still holding the mouse button down, drag back up above
the starting point. Try it at different speeds and selection sizes. My
highlighting always breaks up unless you do it _very_ slowly. Also, try
triple-clicking. It doesn't work correctly either.
Keith
-----
On Thursday, October 10, 2002, at 07:53 PM, Douglas Davidson wrote:
On Thursday, October 10, 2002, at 04:43 PM, Keith Renz wrote:
With Courier 11pt, you cannot decrease the line spacing in TextEdit
below 13pt. You can physically set it, but nothing happens to the
text visually. (I suspect this is just adjusting the line spacing
(leading) down to zero).
You need to click the little closed lock button to choose fixed line
heights. Then you can reduce line height as much as you want.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.