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

 
 

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

Submitter:  None
Submitted:  Thu 21 Mar 2013 01:23:55 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  lostbard
Originator Name:  John Donoghue Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 09 Nov 2013 12:33:54 PM UTC, 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>
Group Member
Sat 09 Nov 2013 01:31:41 AM UTC, 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>
Group Member
Fri 12 Apr 2013 06:22:08 AM UTC, 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>
Group Member
Wed 03 Apr 2013 10:27:38 AM UTC, comment #3: 

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

https://sourceforge.net/p/scintilla/code/ci/8ae0660eb138f6e11b8daf3e1dfd7e8dcfc2d7f3/

John Donoghue <lostbard>
Group Member
Sun 31 Mar 2013 09:00:15 PM UTC, 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>
Group Member
Wed 27 Mar 2013 08:03:02 PM UTC, 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:
http://sourceforge.net/p/scintilla/bugs/1414/

Torsten Lilge <ttl>
Group Member
Thu 21 Mar 2013 01:23:55 AM UTC, original submission:  

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

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

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-09 lostbard StatusPostponed Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2013-03-27 ttl StatusNone Postponed
    2013-03-21 rik5 Carbon-CopyRemoved 72865 -
    2013-03-21 rik5 SummaryGUI editor pane doesnt understand multiline comments GUI editor panel does not understand multiline comments
    2013-03-21 jordigh DependenciesRemoved dependency from bugs #38559 -
    2013-03-21 jordigh Dependencies- bugs #38559 is dependent

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code