Changed: ReplaceSel, TextReplace methods now waits main thread for idle.
Authored by: instructor_ 2018-08-26
Parent: [r4375]
Child: [r4377]