Skip to content

Commit

Permalink
! Disabled Navi Bar for diff view
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Dec 29, 2018
1 parent 293b968 commit 5b2248f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Codist/NaviBar/NaviBarFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ sealed partial class NaviBarFactory : IWpfTextViewCreationListener
#pragma warning restore 649, 169

public void TextViewCreated(IWpfTextView textView) {
if (Config.Instance.Features.MatchFlags(Features.NaviBar)) {
if (Config.Instance.Features.MatchFlags(Features.NaviBar)
&& textView.Roles.Contains("DIFF") == false) {
if (textView.TextBuffer.ContentType.IsOfType(Constants.CodeTypes.CSharp)) {
textView.Properties.GetOrCreateSingletonProperty(() => new SemanticContext(textView));
new Overrider(textView);
Expand Down

0 comments on commit 5b2248f

Please sign in to comment.