MATLAB and quotes
Posted: Tue Jul 09, 2002 7:07 pm
Hi. I'm trying to use Textpad for MATLAB. I have found a number of .syn files out there both at TextPad and Matlab sites. But none of them seem to solve a problem I keep encountering, namely:
the single quote ' is both a string delimiter and an operator (indicating the transpose of a matrix). If I tell the .syn file that it is the string delimiter then everytime I use it as an operator it starts string coloration until the next occurrence of the single quote (either as an operator or string delimiter).
For example:
atranspose=a';
somecodehere;
fprintf('This is a string');
is parsed completely incorrectly.
Thanks.
the single quote ' is both a string delimiter and an operator (indicating the transpose of a matrix). If I tell the .syn file that it is the string delimiter then everytime I use it as an operator it starts string coloration until the next occurrence of the single quote (either as an operator or string delimiter).
For example:
atranspose=a';
somecodehere;
fprintf('This is a string');
is parsed completely incorrectly.
Thanks.