[Top][All Lists]

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

[commit-cp] classpath javax/swing/text/ j...

From: Robert Schuster
Subject: [commit-cp] classpath javax/swing/text/ j...
Date: Sat, 01 Apr 2006 15:08:28 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Robert Schuster <address@hidden>        06/04/01 15:08:28

Modified files:
        .              : ChangeLog 

Log message:
        Fixes PR #26843 (for real!).
        2006-04-01  Robert Schuster  <address@hidden>
        * javax/swing/text/
        (modelToView): Throw BadLocationException when no child
        view can be found, restructed to throw exception as early
        as possible.
        (viewToModel): Use mutable allocation as argument for viewToModel
        call on child view.
        * javax/swing/text/
        (getViewAtPoint): Call setBounds() r before method returns with
        suitable child view.
        * javax/swing/text/
        (getPositionBelow): Added try-catch-block around modelToView call,
        added method return when BadLocationException was thrown.
        * javax/swing/text/
        (WrappedLine.viewToModel): Changed '<' to '<=' in if-expression,
        added note about meaning of rect.x and rect.width, removed unneeded
        checks, added code to not return the last possible document offset.


reply via email to

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