[cp-patches] FYI: PlainDocument.insertUpdate performance fix

2006-03-06 Thread Robert Schuster
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

[cp-patches] FYI: PlainDocument.insertUpdate

2006-03-05 Thread Robert Schuster
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.