[TextEditor] Fixed css syntax mode / made syntax mode loading more solid.