@@ -132,6 +132,7 @@ public class UserSettings
132
132
private string _updateLocation ;
133
133
private bool _enableUpdate ;
134
134
private bool _noByteOrderMark ;
135
+ private bool _disableDefaultXslt ;
135
136
private bool _autoFormatOnSave ;
136
137
private int _indentLevel ;
137
138
private IndentChar _indentChar ;
@@ -165,6 +166,7 @@ public UserSettings(Settings s)
165
166
LoadColors ( ) ;
166
167
_updateLocation = this . _settings . GetString ( "UpdateLocation" ) ;
167
168
_enableUpdate = this . _settings . GetBoolean ( "UpdateEnabled" ) ;
169
+ _disableDefaultXslt = this . _settings . GetBoolean ( "DisableDefaultXslt" ) ;
168
170
_autoFormatOnSave = this . _settings . GetBoolean ( "AutoFormatOnSave" ) ;
169
171
_noByteOrderMark = this . _settings . GetBoolean ( "NoByteOrderMark" ) ;
170
172
_indentLevel = this . _settings . GetInteger ( "IndentLevel" ) ;
@@ -230,6 +232,7 @@ public void Apply()
230
232
this . _settings [ "UpdateEnabled" ] = this . _enableUpdate ;
231
233
this . _settings [ "UpdateLocation" ] = this . _updateLocation ;
232
234
235
+ this . _settings [ "DisableDefaultXslt" ] = _disableDefaultXslt ;
233
236
this . _settings [ "AutoFormatOnSave" ] = _autoFormatOnSave ;
234
237
this . _settings [ "IndentLevel" ] = _indentLevel ;
235
238
this . _settings [ "IndentChar" ] = _indentChar ;
@@ -272,6 +275,7 @@ public void Reset()
272
275
_updateLocation = Settings . DefaultUpdateLocation ;
273
276
_enableUpdate = true ;
274
277
_autoFormatOnSave = true ;
278
+ _disableDefaultXslt = false ;
275
279
_noByteOrderMark = false ;
276
280
_indentLevel = 2 ;
277
281
_indentChar = IndentChar . Space ;
@@ -524,6 +528,7 @@ public bool AutoFormatOnSave
524
528
this . _autoFormatOnSave = value ;
525
529
}
526
530
}
531
+
527
532
[ SRCategory ( "FormatCategory" ) ]
528
533
[ LocDisplayName ( "IndentLevel" ) ]
529
534
[ SRDescription ( "IndentLevelDescription" ) ]
@@ -659,6 +664,21 @@ public bool EnableXsltScripts
659
664
}
660
665
}
661
666
667
+ [ SRCategory ( "XsltCategory" ) ]
668
+ [ LocDisplayName ( "DisableDefaultXslt" ) ]
669
+ [ SRDescription ( "DisableDefaultXsltDescription" ) ]
670
+ public bool DisableDefaultXslt
671
+ {
672
+ get
673
+ {
674
+ return this . _disableDefaultXslt ;
675
+ }
676
+ set
677
+ {
678
+ this . _disableDefaultXslt = value ;
679
+ }
680
+ }
681
+
662
682
[ SRCategory ( "XsltCategory" ) ]
663
683
[ LocDisplayName ( "WebBrowserPropertyName" ) ]
664
684
[ SRDescription ( "WebBrowserDescription" ) ]
0 commit comments