Optimize by only clearing the style of the active move element, and only if it was not removed during rebuilding the text.
Optimize by only clearing the style of the active move element, and only if it was not removed during rebuilding the text.

PenguinF/sandra-three