Ejemplo n.º 1
0
 public FoldGenerator(ITextEditorWithParseInformationFolding textEditor,
                      IFoldParser foldParser)
 {
     this.textEditor = textEditor;
     this.foldParser = foldParser;
     IsParseInformationFoldingEnabled = false;
     this.textEditor.InstallFoldingManager();
 }
Ejemplo n.º 2
0
 public FoldGenerator(ITextEditorWithParseInformationFolding textEditor,
                           IFoldParser foldParser)
 {
     this.textEditor = textEditor;
     this.foldParser = foldParser;
     IsParseInformationFoldingEnabled = false;
     this.textEditor.InstallFoldingManager();
 }
		void CreateFakeTextEditorWithParseInfo()
		{
			fakeTextEditorWithParseInformationFolding = MockRepository.GenerateStub<ITextEditorWithParseInformationFolding>();
		}
Ejemplo n.º 4
0
		void Attach(ITextEditorWithParseInformationFolding editor)
		{
			foldGenerator = foldGeneratorFactory.CreateFoldGenerator(editor);
		}
 void Attach(ITextEditorWithParseInformationFolding editor)
 {
     foldGenerator = foldGeneratorFactory.CreateFoldGenerator(editor);
 }
		public IFoldGenerator CreateFoldGenerator(ITextEditorWithParseInformationFolding textEditor)
		{
			return new ScheduledFoldGenerator(
				new FoldGenerator(textEditor, new WebFormsHtmlFoldParser()));
		}
Ejemplo n.º 7
0
 public IFoldGenerator CreateFoldGenerator(ITextEditorWithParseInformationFolding textEditor)
 {
     return(new ScheduledFoldGenerator(
                new FoldGenerator(textEditor, new WebFormsHtmlFoldParser())));
 }
		public IFoldGenerator CreateFoldGenerator(ITextEditorWithParseInformationFolding textEditor)
		{
			return new ScheduledFoldGenerator(
				new FoldGenerator(textEditor, new RazorHtmlFoldParser(FileExtension)));
		}
 void CreateFakeTextEditorWithParseInfo()
 {
     fakeTextEditorWithParseInformationFolding = MockRepository.GenerateStub <ITextEditorWithParseInformationFolding>();
 }
 public IFoldGenerator CreateFoldGenerator(ITextEditorWithParseInformationFolding textEditor)
 {
     return(new ReactiveFoldGenerator(textEditor.TextEditor,
                                      new FoldGenerator(textEditor,
                                                        new RazorHtmlFoldParser(FileExtension))));
 }