Hi, everybody! Here is a patch for boundingRectForGlyphRange:inTextContainer: and lineFragmentRectForGlyphAtIndex:effectiveRange: to return system font bounding rect height instead of hardcoded "12" when no text in glyph range or line fragment(empty NSTextField or NSTextView). Also removes useless code in NSTextView.
PS: With this patches NSTextField works as expected (inserttion point has correct height). NSTextView's insertion point seems to be 12 points height though. Any suggestions? As i understand NSTextField's and NSTextView's edit control the same. Where am i wrong? -- Serg Stoyan
lm_tv.patch.tar
Description: Unix tar archive