[TextEditor] Fixed text marker update bug.