BUG: 398758
Since the implementation of KSyntaxHighlighting in KF5.50, KTextEditor always uses the "Normal" scheme for text colors.
Previously, the colors were set according to KSyntaxHighlighting::Repository::LightTheme, which corresponds to the "Normal" scheme. Now use KateRendererConfig::global() to get the name of the current selected scheme.
Before:
After: