D19876: Fix: apply correctly the text colors of the chosen scheme

Nibaldo González noreply at phabricator.kde.org
Tue Mar 19 07:04:48 GMT 2019


nibags created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  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.

REPOSITORY
  R39 KTextEditor

BRANCH
  fix-schemas

REVISION DETAIL
  https://phabricator.kde.org/D19876

AFFECTED FILES
  src/syntax/katehighlight.cpp

To: nibags
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190319/08c22c86/attachment.html>


More information about the KWrite-Devel mailing list