public void Issue1164() { _vimData.SuspendDisplayPattern(); var vimBuffer = CreateVimBuffer(); var source = new HighlightSearchTaggerSource(vimBuffer.TextView, Vim.GlobalSettings, VimData, VimHost); Assert.False(source.IsProvidingTags); }
protected void Create(params string[] lines) { _textView = CreateTextView(lines); _textBuffer = _textView.TextBuffer; _globalSettings = new GlobalSettings(); _globalSettings.IgnoreCase = true; _globalSettings.HighlightSearch = true; _vimData = Vim.VimData; _asyncTaggerSourceRaw = new HighlightSearchTaggerSource( _textView, _globalSettings, _vimData, Vim.VimHost); _asyncTaggerSource = _asyncTaggerSourceRaw; }
protected void Create(params string[] lines) { _textView = CreateTextView(lines); _textBuffer = _textView.TextBuffer; _globalSettings = Vim.GlobalSettings; _globalSettings.IgnoreCase = true; _globalSettings.HighlightSearch = true; _vimData = Vim.VimData; _asyncTaggerSourceRaw = new HighlightSearchTaggerSource( _textView, _globalSettings, _vimData, Vim.VimHost); _asyncTaggerSource = _asyncTaggerSourceRaw; }
private void Create(params string[] lines) { _textView = CreateTextView(lines); _textBuffer = _textView.TextBuffer; _globalSettings = new GlobalSettings(); _globalSettings.IgnoreCase = true; _globalSettings.HighlightSearch = true; _searchService = VimUtil.CreateSearchService(); _vimData = Vim.VimData; _asyncTaggerSourceRaw = new HighlightSearchTaggerSource( _textView, _globalSettings, VimUtil.CreateTextStructureNavigator(_textBuffer, WordKind.NormalWord), _searchService, _vimData, Vim.VimHost); _asyncTaggerSource = _asyncTaggerSourceRaw; }
private void Create(params string[] lines) { _textView = CreateTextView(lines); _textBuffer = _textView.TextBuffer; _globalSettings = new GlobalSettings(); _globalSettings.IgnoreCase = true; _globalSettings.HighlightSearch = true; _searchService = Vim.SearchService; _vimData = Vim.VimData; _asyncTaggerSourceRaw = new HighlightSearchTaggerSource( _textView, _globalSettings, CreateTextStructureNavigator(_textBuffer, WordKind.NormalWord), _searchService, _vimData, Vim.VimHost); _asyncTaggerSource = _asyncTaggerSourceRaw; }
public void TearDown() { _asyncTaggerSourceRaw = null; }
public void Issue1164() { _vimData.SuspendDisplayPattern(); var vimBuffer = CreateVimBuffer(); var source = new HighlightSearchTaggerSource(vimBuffer.TextView, Vim.GlobalSettings, VimData, VimHost); Assert.False(source.IsProvidingTags); }
public void TearDown() { _asyncTaggerSourceRaw = null; }