CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Robert Schuster <[EMAIL PROTECTED]>     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  <[EMAIL PROTECTED]>
        
        * 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


Reply via email to