@@ -98,7 +98,7 @@ public void OnWindowActivated(EnvDTE.Window gotFocus, EnvDTE.Window lostFocus)
98
98
if ( settings . et == null )
99
99
{
100
100
// If the language is C++, use the default tab setting (hard tabs), otherwise,
101
- // VS seems to like soft tabs for other languages.
101
+ // VS seems to like soft tabs for other languages.
102
102
if ( gotFocus . Document . Language == CodeModelLanguageConstants . vsCMLanguageVC )
103
103
settings . et = kDefaultHardTabs ;
104
104
else
@@ -108,7 +108,7 @@ public void OnWindowActivated(EnvDTE.Window gotFocus, EnvDTE.Window lostFocus)
108
108
if ( settings . ts == null )
109
109
settings . ts = kDefaultTabSize ;
110
110
111
- // In Vim and Visual Studio, the following settings are roughly analogous:
111
+ // In Vim and Visual Studio, the following settings are roughly analogous:
112
112
// ts and TabSize
113
113
// sw and IndentSize
114
114
// noet/et and InsertTabs
@@ -133,7 +133,7 @@ public void OnWindowActivated(EnvDTE.Window gotFocus, EnvDTE.Window lostFocus)
133
133
134
134
SetDTEProperty ( "TextEditor" , gotFocus . Document . Language , "TabSize" , settings . ts ) ;
135
135
SetDTEProperty ( "TextEditor" , gotFocus . Document . Language , "IndentSize" , settings . sw ) ;
136
- SetDTEProperty ( "TextEditor" , gotFocus . Document . Language , "InsertTabs" , ! settings . et ) ;
136
+ SetDTEProperty ( "TextEditor" , gotFocus . Document . Language , "InsertTabs" , ! settings . et ) ;
137
137
}
138
138
139
139
private void ReadModelines ( TextDocument td , Settings settings )
@@ -187,9 +187,9 @@ private bool DetectVimModeline(Settings settings, string line)
187
187
int nchars = 0 ;
188
188
for ( int i = index + key . Length ; i < line . Length ; i ++ )
189
189
{
190
- if ( ! Char . IsNumber ( line [ i ] ) )
191
- break ;
192
- nchars ++ ;
190
+ if ( ! Char . IsNumber ( line [ i ] ) )
191
+ break ;
192
+ nchars ++ ;
193
193
}
194
194
195
195
int result = 0 ;
0 commit comments