D18997: Add functions returning all definitions for a mimetype or file name

Christoph Cullmann 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.

REPOSITORY
  R216 Syntax Highlighting

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

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...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190217/07fb5fa7/attachment.html>


More information about the Kde-frameworks-devel mailing list