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 21 Mar 2013 01:23:55 AM UTC  
 
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 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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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 <ttl>
Project 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 File(s):
   
   
Comment:
   

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 09 Nov 2013 12:33:54 PM UTClostbardStatusPostponed=>Fixed
      Assigned toNone=>lostbard
      Open/ClosedOpen=>Closed
    Wed 27 Mar 2013 08:03:02 PM UTCttlStatusNone=>Postponed
    Thu 21 Mar 2013 06:37:53 PM UTCrik5Carbon-CopyRemoved 72865=>-
    Thu 21 Mar 2013 06:37:46 PM UTCrik5SummaryGUI editor pane doesnt understand multiline comments=>GUI editor panel does not understand multiline comments
    Thu 21 Mar 2013 06:18:38 PM UTCjordighDependenciesRemoved dependancy from bugs #38559=>-
    Thu 21 Mar 2013 05:02:11 PM UTCjordighDependencies-=>bugs #38559 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup