D14451: Add Repo::formatFromId(), Definition::formatFromId() and ::formats()
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).
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