File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- using System . ComponentModel . Composition ;
2
- using Microsoft . VisualStudio . Text . Editor ;
1
+ using Microsoft . VisualStudio . Text . Editor ;
3
2
using Microsoft . VisualStudio . Utilities ;
3
+ using System . ComponentModel . Composition ;
4
4
5
5
namespace DisableMouseWheelZoom
6
6
{
7
- [ Export ( typeof ( IWpfTextViewCreationListener ) ) ]
7
+ [ Export ( typeof ( IWpfTextViewCreationListener ) ) ]
8
8
[ ContentType ( "text" ) ]
9
9
[ TextViewRole ( PredefinedTextViewRoles . Zoomable ) ]
10
- class ViewCreationListener : IWpfTextViewCreationListener
10
+ internal class ViewCreationListener : IWpfTextViewCreationListener
11
11
{
12
- public void TextViewCreated ( IWpfTextView textView )
12
+ public void TextViewCreated ( IWpfTextView textView )
13
13
{
14
14
textView . Options . SetOptionValue ( DefaultWpfViewOptions . EnableMouseWheelZoomId , false ) ;
15
15
}
16
16
}
17
- }
17
+ }
Original file line number Diff line number Diff line change 18
18
<Edition >Pro</Edition >
19
19
</VisualStudio >
20
20
<VisualStudio Version =" 14.0" >
21
+ <Edition >Community</Edition >
21
22
<Edition >Pro</Edition >
22
23
</VisualStudio >
23
24
<VisualStudio Version =" 15.0" >
25
+ <Edition >Community</Edition >
24
26
<Edition >Pro</Edition >
25
27
</VisualStudio >
26
28
</SupportedProducts >
You can’t perform that action at this time.
0 commit comments