(
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.
|
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
|
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?
|
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.
|
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:
<http://scintillanet.codeplex.com/wikipage?title=HowToSyntax>
finally, should this be split off as a separate bug report?
|
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.
|
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.
|
Mon 13 Jan 2014 09:26:26 PM UTC, comment #1:
also "!" is ignored.
maybe it's caused by this:
c:\Octave\octave\libgui\src\m-editor\file-editor.cc:
#if defined (HAVE_QSCI_QSCILEXEROCTAVE_H)
#define HAVE_LEXER_OCTAVE
#include <Qsci/qscilexeroctave.h>
#elif defined (HAVE_QSCI_QSCILEXERMATLAB_H)
#define HAVE_LEXER_MATLAB
#include <Qsci/qscilexermatlab.h>
#endif
I'm using <http://www.openems.de/download/octave/octave-3.8.0.exe>
|
Mon 13 Jan 2014 09:07:25 PM UTC, original submission:
i.e., % starts a comment, %! does not
|
(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
Follow 3 latest changes.