| 121 | } |
| 122 | |
| 123 | QTextCharFormat QSyntaxStyle::getFormat(QString name) const |
| 124 | { |
| 125 | auto result = m_data.find(name); |
| 126 | |
| 127 | if (result == m_data.end()) |
| 128 | { |
| 129 | return QTextCharFormat(); |
| 130 | } |
| 131 | |
| 132 | return result.value(); |
| 133 | } |
| 134 | |
| 135 | bool QSyntaxStyle::isLoaded() const |
| 136 | { |
no test coverage detected