bugGNU Octave - Bugs: bug #38560, GUI editor panel does not...


bug #38560: GUI editor panel does not understand multiline comments

Submitted by:  None
Submitted on:  Thu Mar 21 01:23:55 2013  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: John DonoghueOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sat Nov 9 12:33:54 2013, comment #6:

I have added qscintilla 2.8 to mxe-octave.

I am going to close this bug as fixed (ie: update to qscintilla 2.8).

John Donoghue <lostbard>
Project MemberIn charge of this item.
Sat Nov 9 01:31:41 2013, comment #5:

Qscintilla 2.8 is now out, which has as one of the updates, the latest scintilla matlab lexer which allows multiline comments.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Fri Apr 12 06:22:08 2013, comment #4:

Scintilla v3.3.1 has been released, which includes te updated Matlab lexer. Not all it has to do is find its way into qscintilla.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed Apr 3 10:27:38 2013, comment #3:

In scintilla, patch has been commited for multiline (nested) comments and for displaying '...' as a comment.


John Donoghue <lostbard>
Project MemberIn charge of this item.
Sun Mar 31 21:00:15 2013, comment #2:

I took a look at the patch to scintilla http://sourceforge.net/p/scintilla/bugs/1414/ and played around with it in the native Gtk editor.
It doesnt support nested multiline comments, and seems to not recognise the commented block lines very well when typing into the editor.

The patch was also submitted back in october with a comment in December 2012 about it not being complete (in terms of initialization of variables in the lexer)

I will volunteer to chase down the issues with teh lexer and see if it can make its way into scintilla.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed Mar 27 20:03:02 2013, comment #1:

The lexer used for the gui is based on the scintilla lexer. The support of octave block comments in scintilla is already requested in this bug report:

Torsten <ttl>
Project Member
Thu Mar 21 01:23:55 2013, original submission:

Lines that start % or # are displayed in gray/parses as comments in the editor view.

lines within a multiline block are not.
%{ <- is gray
x=1 <- is shown as would be without the comment
%} <- is gray

Matlab 'grays'/displays everything within the block as a comment.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Nov 9 12:33:54 2013lostbardStatusPostponed=>Fixed
      Assigned toNone=>lostbard
    Wed Mar 27 20:03:02 2013ttlStatusNone=>Postponed
    Thu Mar 21 18:37:53 2013rik5Carbon-CopyRemoved 72865=>-
    Thu Mar 21 18:37:46 2013rik5SummaryGUI editor pane doesnt understand multiline comments=>GUI editor panel does not understand multiline comments
    Thu Mar 21 18:18:38 2013jordighDependenciesRemoved dependancy from bugs #38559=>-
    Thu Mar 21 17:02:11 2013jordighDependencies-=>bugs #38559 is dependent

    Back to the top

    Powered by Savane 3.1-cleanup1