|
From: | Anthony Balkissoon |
Subject: | [commit-cp] classpath ./ChangeLog javax/swing/text/DefaultS... |
Date: | Wed, 14 Dec 2005 19:56:45 +0000 |
CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <address@hidden> 05/12/14 19:56:45 Modified files: . : ChangeLog javax/swing/text: DefaultStyledDocument.java javax/swing/text/html: HTMLDocument.java Log message: 2005-12-14 Anthony Balkissoon <address@hidden> * javax/swing/text/DefaultStyledDocument.java: (insert): Put writeLock/writeUnlock combo in a try/finally block. Group all inserts together so that we can add the appropriate ElementEdit to the DocumentEvent. * javax/swing/text/html/HTMLDocument.java: (debug): New field. (print): New method. Changed all System.out.println calls to calls to this method so that they can be turned on and off via the debug variable. (HTMLReader.CharacterAction.start): Uncommented code that adds the argument attributes to the current attributes. (HTMLReader.HeadAction): Changed superclass to BlockAction instead of TagAction. (HTMLReader.blockOpen): Implemented. (HTMLReader.blockClose): Implemented. (HTMLReader.addContent): Added calls to printBuffer so if the debug variable is true we can see what the buffer looks like before and after adding content. Also put in the proper check so that we only flush the buffer if we've buffered the appropriate number of elements first. (printBuffer): New method. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5814&tr2=1.5815&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.18&tr2=1.19&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/html/HTMLDocument.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
[Prev in Thread] | Current Thread | [Next in Thread] |