forked from qt-creator/qt-creator
C++: Added highlighting for labels.
Change-Id: I559a3112d2aa0a3c09554f8da8b7917f9aa27944 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -1717,6 +1717,8 @@ void CPPEditorWidget::setFontSettings(const TextEditor::FontSettings &fs)
|
||||
fs.toTextCharFormat(QLatin1String(TextEditor::Constants::C_STATIC));
|
||||
m_semanticHighlightFormatMap[SemanticInfo::VirtualMethodUse] =
|
||||
fs.toTextCharFormat(QLatin1String(TextEditor::Constants::C_VIRTUAL_METHOD));
|
||||
m_semanticHighlightFormatMap[SemanticInfo::LabelUse] =
|
||||
fs.toTextCharFormat(QLatin1String(TextEditor::Constants::C_LABEL));
|
||||
m_keywordFormat = fs.toTextCharFormat(QLatin1String(TextEditor::Constants::C_KEYWORD));
|
||||
|
||||
// only set the background, we do not want to modify foreground properties set by the syntax highlighter or the link
|
||||
|
||||
Reference in New Issue
Block a user