@@ -132,6 +132,7 @@ public class UserSettings
132132 private string _updateLocation ;
133133 private bool _enableUpdate ;
134134 private bool _noByteOrderMark ;
135+ private bool _disableDefaultXslt ;
135136 private bool _autoFormatOnSave ;
136137 private int _indentLevel ;
137138 private IndentChar _indentChar ;
@@ -165,6 +166,7 @@ public UserSettings(Settings s)
165166 LoadColors ( ) ;
166167 _updateLocation = this . _settings . GetString ( "UpdateLocation" ) ;
167168 _enableUpdate = this . _settings . GetBoolean ( "UpdateEnabled" ) ;
169+ _disableDefaultXslt = this . _settings . GetBoolean ( "DisableDefaultXslt" ) ;
168170 _autoFormatOnSave = this . _settings . GetBoolean ( "AutoFormatOnSave" ) ;
169171 _noByteOrderMark = this . _settings . GetBoolean ( "NoByteOrderMark" ) ;
170172 _indentLevel = this . _settings . GetInteger ( "IndentLevel" ) ;
@@ -230,6 +232,7 @@ public void Apply()
230232 this . _settings [ "UpdateEnabled" ] = this . _enableUpdate ;
231233 this . _settings [ "UpdateLocation" ] = this . _updateLocation ;
232234
235+ this . _settings [ "DisableDefaultXslt" ] = _disableDefaultXslt ;
233236 this . _settings [ "AutoFormatOnSave" ] = _autoFormatOnSave ;
234237 this . _settings [ "IndentLevel" ] = _indentLevel ;
235238 this . _settings [ "IndentChar" ] = _indentChar ;
@@ -272,6 +275,7 @@ public void Reset()
272275 _updateLocation = Settings . DefaultUpdateLocation ;
273276 _enableUpdate = true ;
274277 _autoFormatOnSave = true ;
278+ _disableDefaultXslt = false ;
275279 _noByteOrderMark = false ;
276280 _indentLevel = 2 ;
277281 _indentChar = IndentChar . Space ;
@@ -524,6 +528,7 @@ public bool AutoFormatOnSave
524528 this . _autoFormatOnSave = value ;
525529 }
526530 }
531+
527532 [ SRCategory ( "FormatCategory" ) ]
528533 [ LocDisplayName ( "IndentLevel" ) ]
529534 [ SRDescription ( "IndentLevelDescription" ) ]
@@ -659,6 +664,21 @@ public bool EnableXsltScripts
659664 }
660665 }
661666
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+
662682 [ SRCategory ( "XsltCategory" ) ]
663683 [ LocDisplayName ( "WebBrowserPropertyName" ) ]
664684 [ SRDescription ( "WebBrowserDescription" ) ]
0 commit comments