public IViewContent[] CreateSecondaryViewContent(IViewContent viewContent, ITextEditorOptions textEditorOptions)
		{
			foreach (IViewContent existingView in viewContent.SecondaryViewContents) {
				if (existingView.GetType() == typeof(FormsDesignerViewContent)) {
					return new IViewContent[0];
				}
			}
			
			IDesignerLoaderProvider loader = new RubyDesignerLoaderProvider();
			IDesignerGenerator generator = new RubyDesignerGenerator(textEditorOptions);
			return new IViewContent[] { new FormsDesignerViewContent(viewContent, loader, generator) };
		}
        public IViewContent[] CreateSecondaryViewContent(IViewContent viewContent, ITextEditorOptions textEditorOptions)
        {
            foreach (IViewContent existingView in viewContent.SecondaryViewContents)
            {
                if (existingView.GetType() == typeof(FormsDesignerViewContent))
                {
                    return(new IViewContent[0]);
                }
            }

            IDesignerLoaderProvider loader    = new RubyDesignerLoaderProvider();
            IDesignerGenerator      generator = new RubyDesignerGenerator(textEditorOptions);

            return(new IViewContent[] { new FormsDesignerViewContent(viewContent, loader, generator) });
        }
		public void SetUpFixture()
		{
			provider = new RubyDesignerLoaderProvider();
			generator = new RubyDesignerGenerator(null);
		}