Skip to content

Commit bf72a48

Browse files
committed
Explicit support for Community editions of VS2015 and VS2017
1 parent 021f0fc commit bf72a48

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

DisableMouseWheelZoomFactory.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
using System.ComponentModel.Composition;
2-
using Microsoft.VisualStudio.Text.Editor;
1+
using Microsoft.VisualStudio.Text.Editor;
32
using Microsoft.VisualStudio.Utilities;
3+
using System.ComponentModel.Composition;
44

55
namespace DisableMouseWheelZoom
66
{
7-
[Export(typeof(IWpfTextViewCreationListener ))]
7+
[Export(typeof(IWpfTextViewCreationListener))]
88
[ContentType("text")]
99
[TextViewRole(PredefinedTextViewRoles.Zoomable)]
10-
class ViewCreationListener : IWpfTextViewCreationListener
10+
internal class ViewCreationListener : IWpfTextViewCreationListener
1111
{
12-
public void TextViewCreated(IWpfTextView textView)
12+
public void TextViewCreated(IWpfTextView textView)
1313
{
1414
textView.Options.SetOptionValue(DefaultWpfViewOptions.EnableMouseWheelZoomId, false);
1515
}
1616
}
17-
}
17+
}

source.extension.vsixmanifest

+2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
<Edition>Pro</Edition>
1919
</VisualStudio>
2020
<VisualStudio Version="14.0">
21+
<Edition>Community</Edition>
2122
<Edition>Pro</Edition>
2223
</VisualStudio>
2324
<VisualStudio Version="15.0">
25+
<Edition>Community</Edition>
2426
<Edition>Pro</Edition>
2527
</VisualStudio>
2628
</SupportedProducts>

0 commit comments

Comments
 (0)