bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSSimpleLayoutManager.m and NSTextView.m patches


From: Serg Stoyan
Subject: GSSimpleLayoutManager.m and NSTextView.m patches
Date: Sun, 23 Jun 2002 18:45:53 +0300
User-agent: Mutt/1.3.16i

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

Attachment: lm_tv.patch.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]