-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor global search to use a DynamicPicker
This commit refactors global search to use a DynamicPicker rather than a prompt plus a picker based on the prompt entry. There aren't any actual changes: the display format is the same (changed in the parent commit) and the regex-matcher-builder and async collection are essentially unchanged. Now these same blocks are used in the dynamic picker's query callback. The only novel code here is in the Err case for RegexMatcherBuilder::build. We now open up a popup showing the failure message for regexs that fail to compile.
- Loading branch information
1 parent
4f070ff
commit 3dbe90d
Showing
1 changed file
with
130 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters