/// <summary> /// The CodeWindowManager is constructed by the base LanguageService class when VS calls /// the IVsLanguageInfo.GetCodeWindowManager method. You can override CreateCodeWindowManager /// on your LanguageService if you want to plug in a different CodeWindowManager. /// </summary> internal CodeWindowManager(LanguageService service, IVsCodeWindow codeWindow, ISource source) { this.service = service; this.codeWindow = codeWindow; this.viewFilters = new ArrayList(); this.source = source; #if DOCUMENT_PROPERTIES this.properties = service.CreateDocumentProperties(this); #endif }
/// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.CodeWindowManager"]/*' /> /// <summary> /// The CodeWindowManager is constructed by the base LanguageService class when VS calls /// the IVsLanguageInfo.GetCodeWindowManager method. You can override CreateCodeWindowManager /// on your LanguageService if you want to plug in a different CodeWindowManager. /// </summary> internal CodeWindowManager(LanguageService service, IVsCodeWindow codeWindow, ISource source) { this.service = service; this.codeWindow = codeWindow; this.viewFilters = new ArrayList(); this.source = source; #if DOCUMENT_PROPERTIES this.properties = service.CreateDocumentProperties(this); #endif }
/// <summary>Closes all view filters, and the document properties window</summary> internal void Close() { #if LANGTRACE Trace.WriteLine("CodeWindowManager::Close"); #endif #if DOCUMENT_PROPERTIES if (this.properties != null) this.properties.Close(); #endif CloseFilters(); this.viewFilters = null; #if DOCUMENT_PROPERTIES properties = null; #endif service = null; source = null; this.codeWindow = null; }
/// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.Close"]/*' /> /// <summary>Closes all view filters, and the document properties window</summary> internal void Close() { #if LANGTRACE Trace.WriteLine("CodeWindowManager::Close"); #endif #if DOCUMENT_PROPERTIES if (this.properties != null) { this.properties.Close(); } #endif CloseFilters(); this.viewFilters = null; #if DOCUMENT_PROPERTIES properties = null; #endif service = null; source = null; this.codeWindow = null; }