コード例 #1
0
ファイル: FoldGenerator.cs プロジェクト: RazorPad/RazorPad
 public FoldGenerator(ITextEditorWithParseInformationFolding textEditor,
                           IFoldParser foldParser)
 {
     this.textEditor = textEditor;
     this.foldParser = foldParser;
     IsParseInformationFoldingEnabled = false;
     this.textEditor.InstallFoldingManager();
 }
コード例 #2
0
 public FoldGenerator(ITextEditorWithParseInformationFolding textEditor,
                      IFoldParser foldParser)
 {
     this.textEditor = textEditor;
     this.foldParser = foldParser;
     IsParseInformationFoldingEnabled = false;
     this.textEditor.InstallFoldingManager();
 }
コード例 #3
0
		void CreateFoldGenerator()
		{
			fakeFoldParser = MockRepository.GenerateStub<IFoldParser>();
			foldGenerator = new FoldGenerator(fakeTextEditor, fakeFoldParser);
		}
コード例 #4
0
 void CreateFoldGenerator()
 {
     fakeFoldParser = MockRepository.GenerateStub <IFoldParser>();
     foldGenerator  = new FoldGenerator(fakeTextEditor, fakeFoldParser);
 }