Skip to content

Strange syntax colouring

Hallo,

I use the Mousepad 0.6.1 version.

When I use the code lines below some strange colouring effect is shown in the text editor.

#!/bin/bash

ssh -T ${server_user}@${server_ip} "{
																			echo -e \"#!/bin/bash\"
																		} > ${home_server_user}${server_cronjob_script}
																	 "

The cause of this is the '!' sign, if I change it to '!' then the syntax colouring works fine. When I place the code on the same line then everything looks also fine.

I wonder, do I something wrong or is this a glitch in to editor code?

Edited by Gaël Bonithon