allow user to change syntax highlighting and mode in ace