#include <qscilexerxml.h>
Inherits QsciLexerHTML.
QsciLexerXML::QsciLexerXML | ( | QObject * | parent = 0 |
) |
Construct a QsciLexerXML with parent parent. parent is typically the QsciScintilla instance.
virtual QsciLexerXML::~QsciLexerXML | ( | ) | [virtual] |
Destroys the QsciLexerXML instance.
const char* QsciLexerXML::language | ( | ) | const [virtual] |
const char* QsciLexerXML::lexer | ( | ) | const [virtual] |
Returns the name of the lexer. Some lexers support a number of languages.
Reimplemented from QsciLexerHTML.
QColor QsciLexerXML::defaultColor | ( | int | style | ) | const [virtual] |
Returns the foreground colour of the text for style number style.
Reimplemented from QsciLexerHTML.
bool QsciLexerXML::defaultEolFill | ( | int | style | ) | const [virtual] |
QFont QsciLexerXML::defaultFont | ( | int | style | ) | const [virtual] |
QColor QsciLexerXML::defaultPaper | ( | int | style | ) | const [virtual] |
Returns the background colour of the text for style number style.
Reimplemented from QsciLexerHTML.
const char* QsciLexerXML::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 QsciLexerHTML.
void QsciLexerXML::refreshProperties | ( | ) | [virtual] |
Causes all properties to be refreshed by emitting the propertyChanged() signal as required.
Reimplemented from QsciLexerHTML.
void QsciLexerXML::setScriptsStyled | ( | bool | styled | ) |
bool QsciLexerXML::scriptsStyled | ( | ) | const |
bool QsciLexerXML::readProperties | ( | QSettings & | qs, | |
const QString & | prefix | |||
) | [protected, virtual] |
The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error.
Reimplemented from QsciLexerHTML.
bool QsciLexerXML::writeProperties | ( | QSettings & | qs, | |
const QString & | prefix | |||
) | const [protected, virtual] |
The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error.
Reimplemented from QsciLexerHTML.