#include <qextscintillalexerruby.h>
Inherits QextScintillaLexer.
anonymous enum |
This enum defines the meanings of the different styles used by the Ruby lexer.
QextScintillaLexerRuby::QextScintillaLexerRuby | ( | QObject * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Construct a QextScintillaLexerRuby with parent parent and name name. parent is typically the QextScintilla instance.
virtual QextScintillaLexerRuby::~QextScintillaLexerRuby | ( | ) | [virtual] |
Destroys the QextScintillaLexerRuby instance.
const char* QextScintillaLexerRuby::language | ( | ) | const [virtual] |
const char* QextScintillaLexerRuby::lexer | ( | ) | const [virtual] |
Returns the name of the lexer. Some lexers support a number of languages.
Implements QextScintillaLexer.
QColor QextScintillaLexerRuby::color | ( | int | style | ) | const [virtual] |
Returns the foreground colour of the text for style number style.
Reimplemented from QextScintillaLexer.
bool QextScintillaLexerRuby::eolFill | ( | int | style | ) | const [virtual] |
QFont QextScintillaLexerRuby::font | ( | int | style | ) | const [virtual] |
const char* QextScintillaLexerRuby::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 QextScintillaLexer.
QString QextScintillaLexerRuby::description | ( | int | style | ) | const [virtual] |
Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs.
Implements QextScintillaLexer.
QColor QextScintillaLexerRuby::paper | ( | int | style | ) | const [virtual] |
Returns the background colour of the text for style number style.
Reimplemented from QextScintillaLexer.