zed/assets
Dino 97100ce52f
editor: Respect search case sensitivity when selecting occurrences (#42121)
Update how the editor's `select_*` methods work in order to respect the
`search.case_sensitive` setting, or to be overriden by the
`BufferSearchBar` search options.

- Update both the `SearchableItem` and `SearchableItemHandle` traits
  with a new `set_search_is_case_sensitive` method that allows callers
  to set the case sensitivity of the search
- Update the `BufferSearchBar` to leverage
  `SearchableItemHandle.set_search_is_case_sensitive` in order to sync
  its case sensitivity options with the searchable item
- Update the implementation of the `SearchableItem` trait for `Editor`
  so as to store the argument provided to the
  `set_search_is_case_sensitive` method
- Update the way search queries are built by `Editor` so as to rely on
  `SearchableItem.set_search_is_case_sensitive` argument, if not `None`,
  or default to the editor's `search.case_sensitive` settings

Closes #41070 

Release Notes:

- Improved the "Select Next Occurrence", "Select Previous Occurrence"
and "Select All Occurrences" actions in order to respect the case
sensitivity search settings

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2025-11-11 10:26:40 +00:00
..
badge Adjust Zed badge (#35294) 2025-07-29 15:09:31 -04:00
fonts Use IBM Plex Sans / Lilex (#36084) 2025-08-13 13:25:52 -06:00
icons agent_ui: Improve display of external agents in configuration view (#41869) 2025-11-03 22:22:50 -03:00
images Add onboarding banner for claude code support (#37443) 2025-09-03 10:59:14 +00:00
keymaps Add helix keymap to delete without yanking (#41988) 2025-11-08 15:53:34 +01:00
prompts prompt_store: Remove unused code (#41473) 2025-10-29 16:27:30 +00:00
settings editor: Respect search case sensitivity when selecting occurrences (#42121) 2025-11-11 10:26:40 +00:00
sounds call: Play a different sound when a guest joins (#38987) 2025-09-27 09:20:55 -04:00
themes Fix Gruvbox accent colors (#41470) 2025-10-29 15:59:42 +00:00