rem: this.setTestCase(new TestCase()); 
add: this.setTestCase(new TestCase(), true); 
context: function Editor(window, isSidebar) {	this.log.debug("initializing");	this.window = window;	window.editor = this;	var self = this;	this.isSidebar = isSidebar;	this.recordFrameTitle = false;	this.document = document;	this.recordingEnabled = true;	this.setOptions(optionsManager.load());	this.loadExtensions();	this.loadSeleniumAPI();	this.selectDefaultReference();	this.treeView = new TreeView(this, document, document.getElementById("commands"));	this.sourceView = new SourceView(this, document.getElementById("source"));	this.testCaseListeners = new Array();	this.testCaseListeners.push(function(testCase) {			if (self.view) {				self.view.testCase = testCase;			}			testCase.observer = {				modifiedStateUpdated: function() {					self.updateTitle();				}			};		});	this.setTestCase(new TestCase());	this.initOptions();	//this.toggleView(this.treeView);		// "debugger" cannot be used since it is a reserved word in JS	this.selDebugger = new Debugger(this);		//top.document.commandDispatcher.getControllers().appendController(Editor.controller);	//window.controllers.appendController(Editor.controller);	top.controllers.appendController(Editor.controller);	//window.controllers.appendController(controller);	this.updateViewTabs();    this.infoPanel = new Editor.InfoPanel(this);    	//top.document.commandDispatcher.updateCommands("selenium-ide-state");	document.addEventListener("focus", Editor.checkTimestamp, false);		this.log.info("initialized");		setTimeout("editor.showLoadErrors()", 500);		if (isSidebar) {		Recorder.registerForWindow(window.parent, this);	} else {		Recorder.registerAll(this);	}}
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/593d8b5a6ee9a382e8159e89ccba637185daef8a/editor.js/clean/src/content/editor.js