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

Method setSyntaxStyle

lib/QCodeEditor/src/internal/QCodeEditor.cpp:121–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void QCodeEditor::setSyntaxStyle(QSyntaxStyle *style)
122{
123 m_syntaxStyle = style;
124
125 m_framedAttribute->setSyntaxStyle(m_syntaxStyle);
126 m_lineNumberArea->setSyntaxStyle(m_syntaxStyle);
127
128 if (m_highlighter)
129 {
130 m_highlighter->setSyntaxStyle(m_syntaxStyle);
131 }
132
133 updateStyle();
134}
135
136void QCodeEditor::updateStyle()
137{

Callers 9

setupWidgetsMethod · 0.45
performConnectionsMethod · 0.45
setHighlighterMethod · 0.45
onThemeChangedMethod · 0.45
onThemeChangedMethod · 0.45
onThemeChangedMethod · 0.45
onThemeChangedMethod · 0.45
onThemeChangedMethod · 0.45
onThemeChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected