bundles/org.eclipse.orion.client.editor/web/orion/editor/AsyncStyler.js
function() {
			if (this.textView) {
				this.textView.removeEventListener("ModelChanging", this.listener.onModelChanging);
				this.textView.removeEventListener("ModelChanged", this.listener.onModelChanged);
				this.textView.removeEventListener("Destroy", this.listener.onDestroy);
				this.textView.removeEventListener("LineStyle", this.listener.onLineStyle);
				this.textView = null;
			}
			if (this.services) {
				for (var i = 0; i < this.services.length; i++) {
					this.removeServiceListener(this.services[i]);
				}
				this.services = null;
			}
			if (this.serviceRegistry) {
				this.serviceRegistry.removeEventListener("registered", this.listener.onServiceAdded);
				this.serviceRegistry.removeEventListener("unregistering", this.listener.onServiceRemoved);
				this.serviceRegistry = null;
			}
			this.listener = null;
			this.lineStyles = null;
		}
function() {
			if (this.textView) {
				this.textView.removeEventListener("ModelChanging", this.listener.onModelChanging);
				this.textView.removeEventListener("ModelChanged", this.listener.onModelChanged);
				this.textView.removeEventListener("Destroy", this.listener.onDestroy);
				this.textView.removeEventListener("LineStyle", this.listener.onLineStyle);
				this.textView = null;
			}
			if (this.services) {
				for (var i = 0; i < this.services.length; i++) {
					this.removeServiceListener(this.services[i]);
				}
				this.services = null;
			}
			if (this.serviceRegistry) {
				this.serviceRegistry.removeEventListener("registered", this.listener.onServiceAdded);
				this.serviceRegistry.removeEventListener("unregistering", this.listener.onServiceRemoved);
				this.serviceRegistry = null;
			}
			this.listener = null;
			this.lineStyles = null;
		}
function ( ) { if ( this . textView ) { this . textView . removeEventListener ( "ModelChanging" , this . listener . onModelChanging ) ; this . textView . removeEventListener ( "ModelChanged" , this . listener . onModelChanged ) ; this . textView . removeEventListener ( "Destroy" , this . listener . onDestroy ) ; this . textView . removeEventListener ( "LineStyle" , this . listener . onLineStyle ) ; this . textView = null ; } if ( this . services ) { for ( var i = 0 ; i < this . services . length ; i ++ ) { this . removeServiceListener ( this . services [ i ] ) ; } this . services = null ; } if ( this . serviceRegistry ) { this . serviceRegistry . removeEventListener ( "registered" , this . listener . onServiceAdded ) ; this . serviceRegistry . removeEventListener ( "unregistering" , this . listener . onServiceRemoved ) ; this . serviceRegistry = null ; } this . listener = null ; this . lineStyles = null ; }
Deactivates this styler and removes any listeners it registered.
Deactivates this styler and removes any listeners it registered .