[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog javax/swing/text/FieldVie...
From: |
Robert Schuster |
Subject: |
[commit-cp] classpath ./ChangeLog javax/swing/text/FieldVie... |
Date: |
Fri, 14 Apr 2006 18:09:43 +0000 |
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