I'm typing this question in Edge. Let's say I want to express this as a line of code in a question or answer
int i = 42;
When I actually type into the edit window, the lone letter i
in that statement gets auto-corrected to capital I
. Hence, this is what I just had to correct to make the statement above work.
int I = 42;
This didn't always use to be the case. I'm not sure if Edge introduced this bug, or if there is an HTML style missing that would turn off auto-correct. Doesn't repro on Chrome.
Update: If I use the F12 tools to hack in a spellcheck=false
attribute into the <textarea>
control, then the issue goes away. My CSS debugging skills start to get more limited after that. I'm not sure if spellcheck is on by default on Edge different from Chrome, or if Edge's behavior will auto-correct a lone letter i
(damnit - it did it again!) whereas chrome's autocorrect won't.
<textarea>
control is missing thespellcheck=false
attribute.I
but "don't" get capitilised. But autocorrects only happends in comment tho. For exemple adding double quote arround those words trigger capitalisation.