Make typos lowercase#3270
Conversation
e420bb8 to
ad14194
Compare
ad14194 to
51f1349
Compare
|
@larsoner or @peternewman Could you have a look? This does create a backwards compatibility issue: some modified typos may appear in existing lists of words to ignore, using the former capitalisation of the first letter. However, I feel it is worth the pain. |
Indeed this is likely to cause problems for people. What is the gain here exactly? If it's just logical and cleaner but doesn't help end users, I'm not sure it's worth inflicting the pain. |
|
The gain is that the case of |
|
One backward compatible way to accomplish this would be to check if the ignore matches the upper or lower cased version |
Typo matching is case insensitive, it doesn't make sense to use uppercase in this context. While we would like a mechanism to suggest that "manuel" is a typo but "Manuel" is not, writing the typo as "Manuel" doesn't help in any way. We keep uppercase in suggested fixes, that could be useful some day.
51f1349 to
582dd19
Compare
Typo matching is case insensitive, it doesn't make sense to use uppercase in this context.
While we would like a mechanism to suggest that "manuel" is a typo but "Manuel" is not, writing the typo as "Manuel" doesn't help in any way.
We keep uppercase in suggested fixes, that could be useful some day.
See also #1578 (comment).