Disable UIA text change events outside of Word, Windows Console, and Windows Terminal (#14067)
Mitigation for #11002.
Blocking #14047.
Summary of the issue:
UIA textChange NVDA events are seldom (if ever) used outside of a few specific situations, but have an extreme performance impact (see #11002).
Description of user facing changes
Improved performance/less chance of NVDA hanging in UIA applications.
Description of development approach
Explicitly do not process UIA textChange events outside of Windows Console, Terminal, and Word. The eventual end goal is to remove TermControl/TermControl2 from UIAHandler.textChangeUIAClassNames in #14047, which will very greatly improve performance in Windows Terminal. (conhost will remain, as there don't seem to be any plans to add notifications, especially as wt is becoming the default).
I'm very reluctant to add a mechanism by which add-ons/app modules can request textChange events unless someone requests it, especially given #11002.