diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 01c34bd2781..fbff201ce7a 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -3844,6 +3844,7 @@ void FakeVimHandler::Private::highlightMatches(const QString &needle) sel.cursor = tc; sel.format = tc.blockCharFormat(); sel.format.setBackground(QColor(177, 177, 0)); + sel.format.setForeground(Qt::black); m_searchSelections.append(sel); if (document()->characterAt(tc.position()) == ParagraphSeparator) tc.movePosition(Right, MoveAnchor);