Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Restore the QuickOpen.basicMatchSort and friends.
Browse files Browse the repository at this point in the history
This change broke a few extensions. Looking at the fix, it seems that all QuickOpen plugins will
likely need these functions, so we may as well re-export them as we have been doing rather than
requiring the extensions to all add another import.

If we do decide to deprecate these later, we should do so with deprecation warnings (something we
weren't doing when these were moved to the StringMatch module).

Revert "Marked as deprecated by #2462 in Sprint 19"

This reverts commit 49e0827.
  • Loading branch information
dangoor committed Oct 30, 2014
1 parent bb27007 commit cc27351
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/search/QuickOpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,4 +949,10 @@ define(function (require, exports, module) {
exports.beginSearch = beginSearch;
exports.addQuickOpenPlugin = addQuickOpenPlugin;
exports.highlightMatch = highlightMatch;

// accessing these from this module will ultimately be deprecated
exports.stringMatch = StringMatch.stringMatch;
exports.SearchResult = StringMatch.SearchResult;
exports.basicMatchSort = StringMatch.basicMatchSort;
exports.multiFieldSort = StringMatch.multiFieldSort;
});

0 comments on commit cc27351

Please sign in to comment.