How to add '&' as an operator?

Topics: User Forum
Jun 24, 2012 at 3:35 PM

im making a editor for batch language, and i set up the xml configuration file.

as we all know in batch, u can use '&' to connect two commands and run them in one line.

so here the problem shows. i set 'pause' as a keyword, so the line 'pause' is successfully highlighted. but the line 'pause&pause' is not. i found that 'pause>nul' is successfully highlighted too, and '>' is an defined operator. it seems like the problem is '&' is not an defined operator.

so, how to add '&' as an operator?