ace syntax highlighting and button callback