Index: core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java =================================================================== RCS file: /cvs/xml/core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java,v --- core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java 27 May 2002 19:12:59 -0000 1.13 +++ core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java 3 Jun 2002 19:04:25 -0000 @@ -228,10 +228,15 @@ /** + * It simply calls super.notifyClosed() for all instances except + * TextEditorSupport.class == this.getClass(). */ protected void notifyClosed () { super.notifyClosed(); + // #15756 following code handles synchronization on text editor closing only! + if (this.getClass() != TextEditorSupport.class) return; + XMLDataObjectLook dobj = (XMLDataObjectLook) getDataObject(); Synchronizator sync = dobj.getSyncInterface(); Representation oldRep = rep; @@ -246,7 +251,6 @@ // } } - /** */ Env getEnv () {