Exemple #1
0
        public void Initialize()
        {
            _document = new TextDocumentMock();
            _document.Selection = new TextSelectionMock();

            _search = new Search(_document);
        }
Exemple #2
0
        public void Initialize()
        {
            // Initialize mock document
            _document = new TextDocumentMock();
            _document.Selection = new TextSelectionMock();

            // Initialize mock range
            _range = new TextRangeMock();
            _range.CharacterFormat = new TextCharacterFormatMock();
            _document.TextRange = _range;

            _highlighter = new MarkdownTestHighlighter(_document);
        }
Exemple #3
0
 public void Initialize()
 {
     _document = new TextDocumentMock();
     _wordCount = new WordCount(_document);
 }