1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 23:14:59 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Sam Atkins
4b1c7533f5 HackStudio: Fuzzy-match Locator suggestions
This also sorts them to put better results first. Currently the
fuzzy-match algorithm gets a little confused, but as that improves, so
will this.
2024-01-30 23:34:21 +00:00
Sam Atkins
85101c6626 HackStudio: Keep the DeclarationsModel around, and use a filtering proxy
Rather than construct a new DeclarationsModel each time the user types
something in the Locator, keep a single one around permanently in the
ProjectDeclarations, and then use a FilteringProxyModel over it for the
suggestions.
2024-01-30 23:34:21 +00:00
Sam Atkins
44033415bc HackStudio: Rename & move DeclarationsModel::Suggestion -> Declaration 2024-01-30 23:34:21 +00:00
Sam Atkins
28e4e351cb HackStudio: Extract and rename the Locator's suggestions model
No code changes besides moving and renaming it.
2024-01-30 23:34:21 +00:00