I have Notepad++ version 6.1.8
How can I configure it to highlight the matlab multiline comment %{ … %} as a comment block?
—EDIT—
I read here that this feature was added to Notepad++ in April, so I downloaded the latest Notepad++ (6.4.5) and installed it over my older 6.1 version, but it still does not highlight Matlab block comments. What should I do to get this feature working?
Best Answer
Changing the default line in the file
langs.model.xml
to<Language name="matlab" ext="m" commentLine="%" commentStart="%{" commentEnd="%}">
will do the trick. But it is not going to work because notepad++ shall match the%
in%{
as the start of a single line comment and not try to match it for a multiline comment. The same goes of%}
Sorry to provide you a solution that is not going to work :-/