fix and optimize highlight_window function
Revert "fix and optimize highlight_window function"

This reverts commit 0061177e43e4e41be0ff5f3eca1e4991874ae49a.
fix and optimize highlight_window()
do not use TextChanged event