I added some checks and code to make sure the dot location in
DefaultCaret is always valid.

2006-02-09  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/text/DefaultCaret.java
        (DocumentHandler.removeUpdate): When update policy is
        'on eventqueue', and the update doesn't come from the
        event queue, check if the current dot location is still
        valid.
        (moveDot): Make sure the new dot location is valid.
        (setDot): Set the mark the same as the dot.

/Roman
/cvsroot/classpath/classpath/javax/swing/text/DefaultCaret.java,v  <--  javax/swing/text/DefaultCaret.java
new revision: 1.30; previous revision: 1.29

Reply via email to