public TripleSlashCompletionCommandHandler( IVsTextView textViewAdapter, IWpfTextView textView, TripleSlashCompletionHandlerProvider provider, DTE dte) { //AppDomain.CurrentDomain.AssemblyResolve += ResolveAssembly; this.m_textView = textView; this.m_provider = provider; this.m_dte = dte; m_config = new DoxygenConfig(); m_generator = new DoxygenGenerator(m_config); m_regexTagSection = new Regex(@"\*\s+\" + m_config.TagChar + @"([a-z]+)\s+(.+)$", RegexOptions.Compiled); // add the command to the command chain if (textViewAdapter != null && textView != null && textView.TextBuffer != null && textView.TextBuffer.ContentType.TypeName == CppTypeName) { textViewAdapter.AddCommandFilter(this, out m_nextCommandHandler); } }
/// <summary> /// Constructor. /// </summary> /// <param name="configService">Doxygen configuration service.</param> public DoxygenGenerator(DoxygenConfig config) { m_config = config; InitStyle(); }