private void OnDisable()
	{
		codeWindows.Remove(this);
		textEditor.onRepaint = null;
		//textEditor.onChange = null;
		textEditor.OnDisable();
	}
 public void OnDisable()
 {
     textEditor.onRepaint = null;
     textEditor.OnDisable();
 }