Skip to content

Commit

Permalink
Fix up lowercase detection logic to not incorrectly count non-letter …
Browse files Browse the repository at this point in the history
…characters as lowercase characters.
  • Loading branch information
Noah Richards committed Apr 16, 2010
1 parent 205decb commit 710b9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpellChecker.Implementation/Spelling/SpellingTagger.cs
Expand Up @@ -343,7 +343,7 @@ IEnumerable<MisspellingTag> GetMisspellingsInSpans(NormalizedSnapshotSpanCollect
else if (lastLetterWasADot && c != '.')
ignoreWord = true;

foundLower = !isUppercase;
foundLower = char.IsLower(c);
lastLetterWasADot = (c == '.');
}

Expand Down

0 comments on commit 710b9d9

Please sign in to comment.