On the fly refers to something that is being changed while a process is still ongoing.
In a word processing application, what is more likely to happen is (B) it highlights grammatically incorrect sentences. This would occur since Microsoft Word default settings would be to do this. The other options would not occur automatically; the user needs to intentionally pick to do them.