Testing edit mode and syntax highlight