[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27148] JTextField: text is not properly clipped
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/27148] JTextField: text is not properly clipped |
Date: |
14 Apr 2006 18:10:33 -0000 |
------- Comment #2 from cvs-commit at developer dot classpath dot org
2006-04-14 18:10 -------
Subject: Bug 27148
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Robert Schuster <address@hidden> 06/04/14
18:09:43
Modified files:
. : ChangeLog
javax/swing/text: FieldView.java DefaultHighlighter.java
Log message:
Fixes PR 27148 and properly clips highlights, too.
2006-04-14 Robert Schuster <address@hidden>
* javax/swing/text/FieldView.java:
(paint): Apply clipping rectangle of the allocation area
before painting the text.
* javax/swing/text/DefaultHighlighter.java:
(DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
compute union and intersection, calculate intersection with allocation
area before painting, adjust x and width when painting multiple lines
by the range of the allocation area.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7109&tr2=1.7110&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/FieldView.java.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultHighlighter.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27148