#1414 LexMatlab: Block Comments Not Supported [Patch Incl.]

Bug
closed-fixed
Scintilla (794)
5
2013-04-12
2012-10-24
No

Currently, LexMatlab.cpp has no support for MATLAB/Octave style block comments:
%{ comment for MATLAB and Octave %}
#{ Octave only #}

Attached is a patch to fix the latest version from the repository, but not exactly as to the specification of MATLAB/Octave (MATLAB and Octave both require the %} be on a new line, with only leading whitespace, while Octave also allows trailing whitespace - as is, the patch treats it like C style comments). I'm not sure if this is the intended method to fix it, but it seems to work fine.

Thanks!

Discussion

<< < 1 2 (Page 2 of 2)
  • Neil Hodgson

    Neil Hodgson - 2013-04-03

    Sorry, I was looking at the wrong version.

     
  • lostbard

    lostbard - 2013-04-03

    No problems :)

     
  • Neil Hodgson

    Neil Hodgson - 2013-04-09
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2013-04-12
    • status: open-fixed --> closed-fixed
     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks