[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #9279] center aligned, editable NSTextFields
From: |
Alexander Malmberg |
Subject: |
[bugs #9279] center aligned, editable NSTextFields |
Date: |
Thu, 11 Nov 2004 09:25:43 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 |
This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**************************************************************************/
[bugs #9279] Latest Modifications:
Changes by:
Alexander Malmberg <alexander@malmberg.org>
'Date:
Thu 11/11/04 at 14:19 (Europe/Stockholm)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Assigned to | None | alexm
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs by:
CVSROOT: /cvsroot/gnustep
Module name: gnustep
Branch:
Changes by: Alexander Malmberg <alexander(at)malmberg(dot)org>
04/11/11 14:10:08
Modified files:
core/gui : ChangeLog
core/gui/Source: NSCell.m NSLayoutManager.m NSTextView.m
Log message:
2004-11-11 15:08 Alexander Malmberg <alexander(at)malmberg(dot)org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
maximum size. Explicitly set the size of the text view, and make it
not resizable.
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
whether the starting index is inside a line frag rect.
* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
have no inset.
(-updateInsertionPointStateAndRestartTimer:): Force the insertion
point rect to be inside the text view.
(-scrollRangeToVisible:): If we are a non-rich-text field editor,
adjust the scrolling to make the auto-scrolling more useful.
Fixes bug #9279.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2417&tr2=1.2418&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSCell.m.diff?tr1=1.163&tr2=1.164&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSLayoutManager.m.diff?tr1=1.92&tr2=1.93&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSTextView.m.diff?tr1=1.162&tr2=1.163&r1=text&r2=text
/**************************************************************************/
[bugs #9279] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9279>
Project: GNUstep
Submitted by: Rob Burns
On: Wed 06/09/04 at 21:46
Category: Gui/AppKit
Severity: 5 - Average
Item Group: Bug
Resolution: Fixed
Privacy: Public
Assigned to: alexm
Status: Closed
Summary: center aligned, editable NSTextFields
Original Submission: when text in a center aligned, editable text field is
displayed, it is centered. but, while editing it is right aligned. The text is
shifted left as you type. With the latin alphabet this works, even if visually
not very appealing. With other alphabets (Thai in this case), not every letter
will cause the string to shift left, because the character is placed on top or
bottom of the previous one, rather than to the right. consequently, you can't
see what you are typing.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Thu 11/11/04 at 14:19 By: Alexander Malmberg <alexm>
Fixed in cvs by:
CVSROOT: /cvsroot/gnustep
Module name: gnustep
Branch:
Changes by: Alexander Malmberg <alexander(at)malmberg(dot)org>
04/11/11 14:10:08
Modified files:
core/gui : ChangeLog
core/gui/Source: NSCell.m NSLayoutManager.m NSTextView.m
Log message:
2004-11-11 15:08 Alexander Malmberg <alexander(at)malmberg(dot)org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
maximum size. Explicitly set the size of the text view, and make it
not resizable.
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
whether the starting index is inside a line frag rect.
* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
have no inset.
(-updateInsertionPointStateAndRestartTimer:): Force the insertion
point rect to be inside the text view.
(-scrollRangeToVisible:): If we are a non-rich-text field editor,
adjust the scrolling to make the auto-scrolling more useful.
Fixes bug #9279.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2417&tr2=1.2418&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSCell.m.diff?tr1=1.163&tr2=1.164&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSLayoutManager.m.diff?tr1=1.92&tr2=1.93&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSTextView.m.diff?tr1=1.162&tr2=1.163&r1=text&r2=text
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9279>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bugs #9279] center aligned, editable NSTextFields,
Alexander Malmberg <=