The styles available in tmTheme files. More...
#include <texttheme.h>
Public Member Functions | |
TextThemeRule (const QString &name, const QString &selector, QColor foreground=QColor(), QColor background=QColor(), bool bold=false, bool italic=false, bool underline=false) | |
virtual | ~TextThemeRule () |
bool | matchesScopeList (const TextScopeList *scopes) |
This method checks if the given scopelist matches the scope selector. | |
void | fillFormat (QTextCharFormat *format) |
QString | name () |
TextScopeSelector * | scopeSelector () |
QColor | foregroundColor () |
QColor | backgroundColor () |
bool | bold () |
bool | italic () |
bool | underline () |
The styles available in tmTheme files.
edbee::TextThemeRule::TextThemeRule | ( | const QString & | name, |
const QString & | selector, | ||
QColor | foreground = QColor(), | ||
QColor | background = QColor(), | ||
bool | bold = false, | ||
bool | italic = false, | ||
bool | underline = false ) |
|
virtual |
|
inline |
|
inline |
void edbee::TextThemeRule::fillFormat | ( | QTextCharFormat * | format | ) |
|
inline |
|
inline |
bool edbee::TextThemeRule::matchesScopeList | ( | const TextScopeList * | scopes | ) |
This method checks if the given scopelist matches the scope selector.
|
inline |
|
inline |
|
inline |