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

Nibaldo González noreply at phabricator.kde.org
Wed Mar 20 10:53:15 GMT 2019


nibags updated this revision to Diff 54404.
nibags added a comment.


  - Fix theme names
  
  Convert theme names from KTextEditor => KSyntaxHighlighting and avoid using invalid `KSyntaxHighlighting::Theme` objects.
  
  The `KDE` and `vim (dark)` themes don't exist in KSyntaxHighlighting, in such cases `KSyntaxHighlighting::Repository::LightTheme` is used (however, the colors of the original theme are retained).

REPOSITORY
  R39 KTextEditor

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19876?vs=54295&id=54404

BRANCH
  fix-schemas

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

AFFECTED FILES
  src/schema/kateschema.cpp
  src/syntax/katehighlight.cpp

To: nibags, #ktexteditor, #kate
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/20190320/533ae99e/attachment.html>


More information about the KWrite-Devel mailing list