forked from qt-creator/qt-creator
Fix CMake highlighting with dark theme
This commit is contained in:
@@ -102,6 +102,7 @@ TextEditor::BaseTextEditorEditable *CMakeEditor::createEditableInterface()
|
|||||||
|
|
||||||
void CMakeEditor::setFontSettings(const TextEditor::FontSettings &fs)
|
void CMakeEditor::setFontSettings(const TextEditor::FontSettings &fs)
|
||||||
{
|
{
|
||||||
|
TextEditor::BaseTextEditor::setFontSettings(fs);
|
||||||
CMakeHighlighter *highlighter = qobject_cast<CMakeHighlighter*>(baseTextDocument()->syntaxHighlighter());
|
CMakeHighlighter *highlighter = qobject_cast<CMakeHighlighter*>(baseTextDocument()->syntaxHighlighter());
|
||||||
if (!highlighter)
|
if (!highlighter)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user