[Jsxe-cvs] SF.net SVN: jsxe: [897] branches/sourceview2
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-06-03 22:33:39
|
Revision: 897 Author: ian_lewis Date: 2006-06-03 15:33:25 -0700 (Sat, 03 Jun 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=897&view=rev Log Message: ----------- Updated the Source View to use the new XMLDocumentListener interface Modified Paths: -------------- branches/sourceview2/Changelog branches/sourceview2/src/sourceview/SourceView.java Modified: branches/sourceview2/Changelog =================================================================== --- branches/sourceview2/Changelog 2006-06-03 22:32:06 UTC (rev 896) +++ branches/sourceview2/Changelog 2006-06-03 22:33:25 UTC (rev 897) @@ -1,3 +1,7 @@ +06/03/2006 Ian Lewis <Ian...@me...> + + * Updated the SourceView to use the new XMLDocumentListener interface + 04/08/2006 Ian Lewis <Ian...@me...> * Fixed bug 1433905. I implemented end of line markers when I didn't need Modified: branches/sourceview2/src/sourceview/SourceView.java =================================================================== --- branches/sourceview2/src/sourceview/SourceView.java 2006-06-03 22:32:06 UTC (rev 896) +++ branches/sourceview2/src/sourceview/SourceView.java 2006-06-03 22:33:25 UTC (rev 897) @@ -39,6 +39,7 @@ import net.sourceforge.jsxe.dom.AdapterNode; import net.sourceforge.jsxe.dom.XMLDocument; import net.sourceforge.jsxe.dom.XMLDocumentListener; +import net.sourceforge.jsxe.dom.XMLDocumentEvent; import net.sourceforge.jsxe.util.Log; import net.sourceforge.jsxe.util.MiscUtilities; //}}} @@ -335,7 +336,6 @@ private class SourceViewXMLDocumentListener implements XMLDocumentListener { //{{{ propertyChanged() - public void propertyChanged(XMLDocument source, String key, String oldValue) { if (key.equals(XMLDocument.INDENT)) { try { @@ -347,10 +347,17 @@ } }//}}} - //{{{ structureChanged - + //{{{ structureChanged() public void structureChanged(XMLDocument source, AdapterNode location) {}//}}} + //{{{ insertUpdate() + public void insertUpdate(XMLDocumentEvent event) {}//}}} + + //{{{ removeUpdate() + public void removeUpdate(XMLDocumentEvent event) {}//}}} + + //{{{ changeUpdate() + public void changeUpdate(XMLDocumentEvent event) {}//}}} }//}}} //{{{ SourceViewEnter This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |