https://bugs.kde.org/show_bug.cgi?id=406821
Dominik Haumann <dhaum...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version Fixed In| |5.59 Latest Commit| |https://commits.kde.org/syn | |tax-highlighting/bbc465981b | |d55ca5449f5d22e972fccbe994e | |24f Status|CONFIRMED |RESOLVED --- Comment #5 from Dominik Haumann <dhaum...@kde.org> --- Git commit bbc465981bd55ca5449f5d22e972fccbe994e24f by Dominik Haumann. Committed on 22/05/2019 at 20:09. Pushed by dhaumann into branch 'master'. SyntaxHighlighter: Fix foreground color for text without special highlighting Summary: QTextDocument seems to use the widget palette (or application palette) when drawing text. That is, by default the palette's foreground color is used when no special QTextCharFormat is specified. This patch changes applyFormat() such that the foreground color is always set to avoid the fallback to the QPalette's foreground color. Related: bug 406816 FIXED-IN: 5.59 Test Plan: make && make test + manual testing with the codeeditor example Reviewers: vkrause, cullmann, kossebau Reviewed By: cullmann Subscribers: kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D21295 M +0 -1 examples/codeeditor/codeeditor.cpp M +4 -4 src/lib/syntaxhighlighter.cpp https://commits.kde.org/syntax-highlighting/bbc465981bd55ca5449f5d22e972fccbe994e24f -- You are receiving this mail because: You are watching all bug changes.