QScintilla
2.8.4
|
#include <qscilexermatlab.h>
Inherits QsciLexer.
Inherited by QsciLexerOctave.
The QsciLexerMatlab class encapsulates the Scintilla Matlab file lexer.
anonymous enum |
This enum defines the meanings of the different styles used by the Matlab file lexer.
QsciLexerMatlab::QsciLexerMatlab | ( | QObject * | parent = 0 | ) |
Construct a QsciLexerMatlab with parent parent. parent is typically the QsciScintilla instance.
const char* QsciLexerMatlab::lexer | ( | ) | const [virtual] |
Returns the name of the lexer. Some lexers support a number of languages.
Reimplemented from QsciLexer.
Reimplemented in QsciLexerOctave.
QColor QsciLexerMatlab::defaultColor | ( | int | style | ) | const [virtual] |
Returns the foreground colour of the text for style number style.
Reimplemented from QsciLexer.
const char* QsciLexerMatlab::keywords | ( | int | set | ) | const [virtual] |
Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string.
Reimplemented from QsciLexer.
Reimplemented in QsciLexerOctave.
QString QsciLexerMatlab::description | ( | int | style | ) | const [virtual] |
Returns the descriptive name for style number style. If the style is invalid for this language then an empty QString is returned. This is intended to be used in user preference dialogs.
Implements QsciLexer.