classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: DefaultStyledDocument Fix


From: Lillian Angel
Subject: [cp-patches] Patch: DefaultStyledDocument Fix
Date: Thu, 12 Jan 2006 16:45:49 -0500

This fixes a couple of the mauve regressions that were caused by some of
the latest changes. This prevents a fracture from occurring when a
string is inserted with a newline at the end.

2006-12-12  Lillian Angel  <address@hidden>

        * javax/swing/text/DefaultStyledDocument.java
        (insertUpdate): Added check to check if attribute set is
        empty.
        (insertUpdate): Added check to determine if last character
        is a newline. If it is, we should not be fracturing.
        (insert): Added check to determine if attribute set is empty.
        If it is, insertUpdate should not be called.

Attachment: patch.diff
Description: Text Data


reply via email to

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