D14451: Add Repo::formatFromId(), Definition::formatFromId() and ::formats()
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.
R216 Syntax Highlighting
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...
More information about the KWrite-Devel