[TextEditor] fixed column calculation.