public override IDocumentView CreateDefaultView() { PerformanceUtility.StartPerformanceSequence(PerformanceEvent.CreateCodeEditor); CodeProject.EnsureResolverCachePruned(this.codeProject.ProjectResolver); IDocumentView documentView = (IDocumentView) new CodeView((IDocument)this, this.codeProject, this.codeProjectService.MessageDisplayService, this.viewService, this.codeOptionsModel, this.windowService); PerformanceUtility.EndPerformanceSequence(PerformanceEvent.CreateCodeEditor); return(documentView); }