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

Bug
closed-fixed
Neil Hodgson
Scintilla (791)
5
2013-04-12
2012-10-24
Breakthrough
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.

     
  • Neil Hodgson
    Neil Hodgson
    2013-04-03

    Committed as [8ae066].

     

    Related

    Commit: [8ae066]

  • 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)