[TextEditor] Fixed semantic highlighting colored text paste.