Hi,
the following patch should affect PlainDocument.insertUpdate memory performance
in a positive way.
Before the change it contained this evil line:
String str = content.getString(0, content.getLength());
which is now changed to:
String str = content.getString(offset, eventLength);
Without
Hi,
this patch fixes PR 26194 which made it impossible to enter newlines into
JTextAreas.
There is a new mauve test which backs this work up. Along with my other small
fix to GapContent we now pass every PlainDocument.insertString test.
@Mark: Please add this patch to the release branch.