commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath javax/swing/plaf/basic/BasicTextUI.ja...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/plaf/basic/BasicTextUI.ja...
Date: Mon, 07 Aug 2006 11:16:11 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/07 11:16:11

Modified files:
        javax/swing/plaf/basic: BasicTextUI.java 
        .              : ChangeLog 
        javax/swing/text: CompositeView.java DefaultCaret.java 
                          FlowView.java ParagraphView.java View.java 

Log message:
        2006-08-05  Roman Kennke  <address@hidden>
        
                * javax/swing/plaf/basic/BasicTextUI.java
                (modelToView): Read-lock the document. Set size of the
                root view before fetching the model-to-view mapping.
                (getViewIndex): Check of the position is inside the range and
                return -1 if this is not the case.
                (getViewAtPosition(int,Rectangle): Update child allocation for 
valid
                view index.
                (getViewIndexAtPosition(int)): Delegate the index search to
                the element since we have a 1:1 mapping between elements and
                views here.
                * javax/swing/text/DefaultCaret.java
                (appear): Ignore BadLocationException.
                (paint): Ignore BadLocationException.
                * javax/swing/text/FlowView.java
                (changedUpdate): Also notify the layoutPool view.
                (removeUpdate): Also notify the layoutPool view.
                * javax/swing/text/ParagraphView.java
                (Row.getViewIndexAtPosition): Overridden to search linearily
                through the view instead of relying on a 1:1 model to view
                mapping.
                * javax/swing/text/View.java
                (removeUpdate): Clear ElementChange object if updateChildren
                returns false.
                (forwardUpdate): Special handle some boundary cases.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicTextUI.java?cvsroot=classpath&r1=1.88&r2=1.89
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8334&r2=1.8335
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/CompositeView.java?cvsroot=classpath&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/DefaultCaret.java?cvsroot=classpath&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/FlowView.java?cvsroot=classpath&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/ParagraphView.java?cvsroot=classpath&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/View.java?cvsroot=classpath&r1=1.33&r2=1.34




reply via email to

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