MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / getFormat

Method getFormat

lib/QCodeEditor/src/internal/QSyntaxStyle.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123QTextCharFormat 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
135bool QSyntaxStyle::isLoaded() const
136{

Callers 12

updateStyleMethod · 0.80
highlightParenthesisMethod · 0.80
highlightCurrentLineMethod · 0.80
highlightBlockMethod · 0.80
highlightBlockMethod · 0.80
highlightBlockMethod · 0.80
drawObjectMethod · 0.80
highlightBlockMethod · 0.80
highlightBlockMethod · 0.80
paintEventMethod · 0.80
highlightBlockMethod · 0.80
highlightBlockMethod · 0.80

Calls 2

findMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected