I have encountered a problem concerning the matching brackets highlighting in the Windows shell scripts (CMD/BAT files)
Let's assume a following simple script (it can be found as an example for using brackets on this URL - http://www.ss64.com/nt/if.html\):
IF EXIST filename (
) ELSE (
echo The file was not found.
When I paste this code into SciTE and save it as "TEST.CMD", then the very first bracket (the one on the first line) is not being correctly matched by highlighting with it's corresponding closing bracket. Instead, it seems that it is being highlighted as an external command.
If I remove the "exist" keyword from the others.properties file, the above shown problem goes away.
Log in to post a comment.