|
QScintilla
2.10.4
|
#include <qscilexerxml.h>
Inherits QsciLexerHTML.
Public Member Functions | |
| QsciLexerXML (QObject *parent=0) | |
| virtual | ~QsciLexerXML () |
| const char * | language () const |
| const char * | lexer () const |
| QColor | defaultColor (int style) const |
| bool | defaultEolFill (int style) const |
| QFont | defaultFont (int style) const |
| QColor | defaultPaper (int style) const |
| const char * | keywords (int set) const |
| void | refreshProperties () |
| void | setScriptsStyled (bool styled) |
| bool | scriptsStyled () const |
Public Member Functions inherited from QsciLexerHTML | |
| QsciLexerHTML (QObject *parent=0) | |
| virtual | ~QsciLexerHTML () |
| const char * | autoCompletionFillups () const |
| const char * | wordCharacters () const |
| QString | description (int style) const |
| bool | caseSensitiveTags () const |
| void | setDjangoTemplates (bool enabled) |
| bool | djangoTemplates () const |
| bool | foldCompact () const |
| bool | foldPreprocessor () const |
| void | setFoldScriptComments (bool fold) |
| bool | foldScriptComments () const |
| void | setFoldScriptHeredocs (bool fold) |
| bool | foldScriptHeredocs () const |
| void | setMakoTemplates (bool enabled) |
| bool | makoTemplates () const |
Public Member Functions inherited from QsciLexer | |
| QsciLexer (QObject *parent=0) | |
| virtual | ~QsciLexer () |
| virtual int | lexerId () const |
| QsciAbstractAPIs * | apis () const |
| virtual QStringList | autoCompletionWordSeparators () const |
| int | autoIndentStyle () |
| virtual const char * | blockEnd (int *style=0) const |
| virtual int | blockLookback () const |
| virtual const char * | blockStart (int *style=0) const |
| virtual const char * | blockStartKeyword (int *style=0) const |
| virtual int | braceStyle () const |
| virtual bool | caseSensitive () const |
| virtual QColor | color (int style) const |
| virtual bool | eolFill (int style) const |
| virtual QFont | font (int style) const |
| virtual int | indentationGuideView () const |
| virtual int | defaultStyle () const |
| virtual QColor | paper (int style) const |
| QColor | defaultColor () const |
| QFont | defaultFont () const |
| QColor | defaultPaper () const |
| QsciScintilla * | editor () const |
| void | setAPIs (QsciAbstractAPIs *apis) |
| void | setDefaultColor (const QColor &c) |
| void | setDefaultFont (const QFont &f) |
| void | setDefaultPaper (const QColor &c) |
| virtual void | setEditor (QsciScintilla *editor) |
| bool | readSettings (QSettings &qs, const char *prefix="/Scintilla") |
| virtual int | styleBitsNeeded () const |
| bool | writeSettings (QSettings &qs, const char *prefix="/Scintilla") const |
Protected Member Functions | |
| bool | readProperties (QSettings &qs, const QString &prefix) |
| bool | writeProperties (QSettings &qs, const QString &prefix) const |
The QsciLexerXML class encapsulates the Scintilla XML lexer.
| QsciLexerXML::QsciLexerXML | ( | QObject * | parent = 0 | ) |
Construct a QsciLexerXML with parent parent. parent is typically the QsciScintilla instance.
|
virtual |
Returns the name of the lexer. Some lexers support a number of languages.
Reimplemented from QsciLexerHTML.
|
virtual |
Returns the foreground colour of the text for style number style.
Reimplemented from QsciLexerHTML.
|
virtual |
Returns the background colour of the text for style number style.
Reimplemented from QsciLexerHTML.
|
virtual |
Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string.
Reimplemented from QsciLexerHTML.
|
virtual |
Causes all properties to be refreshed by emitting the propertyChanged() signal as required.
Reimplemented from QsciLexerHTML.
| void QsciLexerXML::setScriptsStyled | ( | bool | styled | ) |
If allowed is true then scripts are styled. The default is true.
| bool QsciLexerXML::scriptsStyled | ( | ) | const |
Returns true if scripts are styled.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
1.8.11