bugGNU Octave - Bugs: bug #41224, GUI Editor should syntax-highlight...


bug #41224: GUI Editor should syntax-highlight test cases

Submitted by:  Felipe G. Nievinski <fgnievinski>
Submitted on:  Mon 13 Jan 2014 09:07:25 PM UTC  
Category: GUISeverity: 1 - Wish
Priority: 1 - LaterItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich 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)

Mon 02 Feb 2015 03:42:26 PM UTC, comment #8:

Okay, I lowered the Priority to "later". When Qscintilla has the required support, we can change Octave.

Rik <rik5>
Project Administrator
Mon 02 Feb 2015 11:19:06 AM UTC, comment #7:

Its currently not implemented in qscintilla or scintilla, so needs to be implemented in qscintilla

John Donoghue <lostbard>
Project Member
Mon 02 Feb 2015 04:33:43 AM UTC, comment #6:

Is the fix for this in upstream code with Qscintilla? Can Octave do anything, or should this report be closed?

Rik <rik5>
Project Administrator
Fri 17 Jan 2014 09:58:19 PM UTC, comment #5:

No, the octave lexer is used when it is available (since qscintilla 2.6 or so, not sure at the moment). When the snippet in comment #1 is changed such that the matlab lexer is used you see the default fonts from qscintilla and not the ones we have configured in the default settings file (there are no defaults for matlab). Obviously the lexer does not handle the ! correctly.

Geany is another editor based on scintilla and shows the same behavior.

Torsten <ttl>
Project Member
Fri 17 Jan 2014 09:26:16 PM UTC, comment #4:

how about !, the negation sign?
it seems the build is taking matlab's syntax highlighter,
see comment #1.
scitilla does offer octave separate from matlab:
finally, should this be split off as a separate bug report?

Felipe G. Nievinski <fgnievinski>
Fri 17 Jan 2014 09:03:25 PM UTC, comment #3:

Its not currently implemented in the lexer and will need to be pushed up to the qscintilla project to get it implemented.

John Donoghue <lostbard>
Project Member
Thu 16 Jan 2014 06:46:07 PM UTC, comment #2:

The matlab lexer shows the same behavior. It seems the %! case is missing in the lexers.

Torsten <ttl>
Project Member
Mon 13 Jan 2014 09:26:26 PM UTC, comment #1:

also "!" is ignored.

maybe it's caused by this:
#include <Qsci/qscilexeroctave.h>
#include <Qsci/qscilexermatlab.h>

I'm using <http://www.openems.de/download/octave/octave-3.8.0.exe>

Felipe G. Nievinski <fgnievinski>
Mon 13 Jan 2014 09:07:25 PM UTC, original submission:

i.e., % starts a comment, %! does not

Felipe G. Nievinski <fgnievinski>


(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 rik5 (Posted a comment)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by fgnievinski (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Feb 2015 03:42:26 PM UTCrik5Priority3 - Low=>1 - Later
    Mon 02 Feb 2015 04:33:43 AM UTCrik5Severity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low

    Back to the top

    Powered by Savane 3.1-cleanup1