Easy.Test/Text/Highlight/MarkdownTest.cs
/// <summary>
/// Initializes the document, range and highlighter objects
/// </summary>
Initializes the document, range and highlighter objects
Initializes the document range and highlighter objects
[TestInitialize]
        public void Initialize()
        {
            _document = new TextDocumentMock();
            _document.Selection = new TextSelectionMock();
            _range = new TextRangeMock();
            _range.CharacterFormat = new TextCharacterFormatMock();
            _document.TextRange = _range;
            _highlighter = new MarkdownTestHighlighter(_document);
        }
[ TestInitialize ] public void Initialize ( ) { _document = new TextDocumentMock ( ) ; _document . Selection = new TextSelectionMock ( ) ; _range = new TextRangeMock ( ) ; _range . CharacterFormat = new TextCharacterFormatMock ( ) ; _document . TextRange = _range ; _highlighter = new MarkdownTestHighlighter ( _document ) ; }
Initializes the document, range and highlighter objects
Initializes the document range and highlighter objects
// Initialize mock document // Initialize mock range