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

Christoph Cullmann noreply at phabricator.kde.org
Sun Jul 29 11:12:40 BST 2018


cullmann added a comment.


  I am wondering: Do we really need to have unique IDs over all definitions?
  Actually I would think it would be much nicer to have all formats for one definition in a vector and having the index as the unique id.
  The lookup is faster and it is easier to understand. (and the 16-bit limit is no actual limit anymore for any realistic definition).

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/kwrite-devel/attachments/20180729/753affd4/attachment.html>


More information about the KWrite-Devel mailing list