MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / resetThemeColor

Method resetThemeColor

src/plugins/codeeditor/gui/private/texteditor_p.cpp:724–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724void TextEditorPrivate::resetThemeColor()
725{
726 if (q->lexer()) {
727 q->lexer()->resetStyle();
728 q->setLexer(q->lexer());
729 }
730
731 if (languageClient)
732 languageClient->refreshTokens();
733
734 updateColorTheme();
735}
736
737void TextEditorPrivate::onDwellStart(int position, int x, int y)
738{

Callers

nothing calls this directly

Calls 4

resetStyleMethod · 0.80
setLexerMethod · 0.80
refreshTokensMethod · 0.80
lexerMethod · 0.45

Tested by

no test coverage detected