notepad2-mod
notepad2-mod copied to clipboard
Add support for Matlab
This fixes #28.
TODO:
- [ ] Stream comment should add a new line but take into account the current line endings
%{comment%}
- [ ] Associate
.m
files to open with matlab lexer instead of the C/C++ one
I think you can build a version not think of MATLAB Stream comment. Because stream comment is not common.
Can we merge this?
I don't see any of the TODOs fixed, so no.
I have an implementation for TODO 2 at https://github.com/zufuliu/notepad2/blob/master/src/Styles.c#L1211
TODO 1 is implemented at https://github.com/zufuliu/notepad2/blob/master/src/EditAutoC.c#L1194 and https://github.com/zufuliu/notepad2/blob/master/src/EditAutoC.c#L1258
@XhmikosR I can work on the matlab branch to fix the two TODOs after https://sourceforge.net/p/scintilla/bugs/1965/ get committed.
https://github.com/XhmikosR/notepad2-mod/issues/199
@blackcrack: stop doing that, thanks.