Consider one puts the following text into a JTextArea:

foo baz
bar
blablabla

If you select text from baz to the end of blablabla something like this is
painted:

foo baz
bar bar
blablabla

The extra "bar" appears in the 2nd line directly under the position where the
selection starts.

I can confirm that this problem is not a regression introduced by my last patch
to the DefaultHighlighter.HighlighterPaint.paint() method.


-- 
           Summary: JTextArea - odd drawing behavior when selecting multiple
                    lines
           Product: classpath
           Version: 0.90
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: thebohemian at gmx dot net
        ReportedBy: thebohemian at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26839



_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to