public FoldGenerator(ITextEditorWithParseInformationFolding textEditor, IFoldParser foldParser) { this.textEditor = textEditor; this.foldParser = foldParser; IsParseInformationFoldingEnabled = false; this.textEditor.InstallFoldingManager(); }
void CreateFoldGenerator() { fakeFoldParser = MockRepository.GenerateStub<IFoldParser>(); foldGenerator = new FoldGenerator(fakeTextEditor, fakeFoldParser); }
void CreateFoldGenerator() { fakeFoldParser = MockRepository.GenerateStub <IFoldParser>(); foldGenerator = new FoldGenerator(fakeTextEditor, fakeFoldParser); }