diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 853f8236..9e9a224e 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -1179,6 +1179,11 @@ void Editor::onGetEditingAreas(int line, QSynedit::EditingAreaList &areaList) p->beginX = pos1+2; p->endX = pos2+1; p->type = QSynedit::EditingAreaType::eatUnderLine; + if (syntaxer()) { + p->color = syntaxer()->identifierAttribute()->foreground(); + } else { + p->color = foregroundColor(); + } areaList.append(p); } }