D18997: Add functions returning all definitions for a mimetype or file name
noreply at phabricator.kde.org
Sun Feb 17 10:51:56 GMT 2019
cullmann reopened this revision.
cullmann added a comment.
This revision is now accepted and ready to land.
I would propose:
Use the m_sortedDefs as base for the searching.
Return the vector after the bestCandidate did the sort.
That would yield in my eyes the most useful sorting: all things with the same priority that match have the original sort as in definitions() and you get best candidates first.
R216 Syntax Highlighting
To: davschul, vkrause, cullmann
Cc: dhaumann, cullmann, kwrite-devel, kde-frameworks-devel, gennad, bmortimer, michaelh, genethomas, ngraham, bruns, demsking, vkrause, sars
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel