Am Montag, den 19.12.2005, 11:39 -0500 schrieb Anthony Balkissoon: > On Mon, 2005-12-19 at 13:59 +0000, Roman Kennke wrote: > > Hi there, > > > > this patch fixes DefaultStyledDocument.setParagraphAttributes(), so that > > it doesn't hang in an infinite loop like in the testcase of bug# > > > > Hi Roman, > I worked on a patch on Friday that fixed this issue and also added > ElementEdits to the DocumentEvent. I was going to commit it but my > internet connection went down. Also, the writeLock() and writeUnlock() > should be in a try/finally block. The patch includes several changes to > DefaultStyledDocument that I made as I read through the O'Reilly book > beefing up my knowledge about this class before I try to fix PR 24744. > I'll just paste the body of this method (setParagraphAttributes) here, > and let me know if you're okay with this change, and I'll send the full > patch up when it's ready.
Your version looks much better than mine, please commit this instead. /Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
