Skip to content

Commit

Permalink
Allow "Wpf textbox" flag to be turned off (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonyCorbett authored Feb 22, 2023
1 parent 7f9327d commit f705417
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,10 @@ public void Load(string filename)
else
{
// These only apply to the global configuration
this.EnableWpfTextBoxSpellChecking = configuration.ToBoolean(PropertyNames.EnableWpfTextBoxSpellChecking);

if(configuration.HasProperty(PropertyNames.VisualStudioIdExclusions))
{
this.EnableWpfTextBoxSpellChecking = configuration.ToBoolean(PropertyNames.EnableWpfTextBoxSpellChecking);

visualStudioExclusions = new List<Regex>(configuration.ToRegexes(PropertyNames.VisualStudioIdExclusions,
PropertyNames.VisualStudioIdExclusionItem));
}
Expand Down

0 comments on commit f705417

Please sign in to comment.