D14451: Add Repo::formatFromId(), Definition::formatFromId() and ::formats()

Christoph Cullmann noreply at phabricator.kde.org
Sun Jul 29 12:58:07 BST 2018


cullmann added a comment.


  e.g. for the customization of coloring you want to present the list of all formats a highlighting has, including the included ones.
  (even if later the color of the included ones is not stored per including highlighting)
  
  Otherwise you are right, a global lookup is all one needs, which could be build on-the-fly in ktexteditor, too, if we don't want to have that in the syntax-highlighting framework, given the id's are unique.

REPOSITORY
  R216 Syntax Highlighting

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

To: dhaumann, cullmann, vkrause
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180729/ad598895/attachment.html>


More information about the Kde-frameworks-devel mailing list