[TextEditor] Added clear selection action for non mac platforms.