@@ -13,20 +13,20 @@ namespace GitHub.InlineReviews.Margins
1313 /// Export a <see cref="IWpfTextViewMarginProvider"/>, which returns an instance of the margin for the editor to use.
1414 /// </summary>
1515 [ Export ( typeof ( IWpfTextViewMarginProvider ) ) ]
16- [ Name ( CommentsMargin . MarginName ) ]
16+ [ Name ( PullRequestFileMargin . MarginName ) ]
1717 [ Order ( After = PredefinedMarginNames . ZoomControl ) ]
1818 [ MarginContainer ( PredefinedMarginNames . BottomControl ) ] // Set the container to the bottom of the editor window
1919 [ ContentType ( "text" ) ] // Show this margin for all text-based types
2020 [ TextViewRole ( PredefinedTextViewRoles . Editable ) ]
21- internal sealed class CommentsMarginFactory : IWpfTextViewMarginProvider
21+ internal sealed class PullRequestFileMarginProvider : IWpfTextViewMarginProvider
2222 {
2323 readonly IPullRequestSessionManager sessionManager ;
2424 readonly IToggleInlineCommentMarginCommand enableInlineCommentsCommand ;
2525 readonly IGoToSolutionOrPullRequestFileCommand goToSolutionOrPullRequestFileCommand ;
2626 readonly IPackageSettings packageSettings ;
2727
2828 [ ImportingConstructor ]
29- public CommentsMarginFactory (
29+ public PullRequestFileMarginProvider (
3030 IToggleInlineCommentMarginCommand enableInlineCommentsCommand ,
3131 IGoToSolutionOrPullRequestFileCommand goToSolutionOrPullRequestFileCommand ,
3232 IPullRequestSessionManager sessionManager ,
@@ -60,7 +60,7 @@ public IWpfTextViewMargin CreateMargin(IWpfTextViewHost wpfTextViewHost, IWpfTex
6060 return null ;
6161 }
6262
63- return new CommentsMargin ( wpfTextViewHost . TextView , enableInlineCommentsCommand , goToSolutionOrPullRequestFileCommand ,
63+ return new PullRequestFileMargin ( wpfTextViewHost . TextView , enableInlineCommentsCommand , goToSolutionOrPullRequestFileCommand ,
6464 sessionManager ) ;
6565 }
6666
0 commit comments