Full regular expression matching for syntax highlighting would of course be the optimal solution, but integrating the RE engine would probably be rather complicated.
flyingboz:
Thanks for the tip, but it only partially solves the problem. For instance:
r=[x' y'];
is still affected.
Search found 2 matches
- Wed Feb 25, 2004 3:36 pm
- Forum: Enhancement Suggestions
- Topic: Syntax highlighting for Matlab
- Replies: 4
- Views: 595
- Tue Feb 24, 2004 9:18 pm
- Forum: Enhancement Suggestions
- Topic: Syntax highlighting for Matlab
- Replies: 4
- Views: 595
Syntax highlighting for Matlab
Matlab uses the same character as string separator as for the transpose operator. This causes a problem with syntax highlighting. For example: r = [sin(phi)' cos(phi)']; will cause the characters between the apostrophes to be colored as strings. The only way around this seems to be turn off string ...