Add option for case sensitivity in "Search current file" and "Search & replace current file" commands

Use case or problem

When executing Search current file or Search & replace current file, sometimes the only way to make the search useful is to be able to specify case sensitivity.

Proposed solution

In the UIs that appears at the top of a note for search and search & replace, add an “Aa” icon that can be clicked to toggle case sensitivity on and off, replicating the case sensitivity selector in the Search plugin.

Current workaround (optional)

  • Using the case sensitivity feature in the Search plugin seems like an option in theory, but in practice it introduces way too much noise to be useful for many / most use cases where the user needs to search within one particular file.
  • Open and edit the .md file in a separate text editor that has standard case sensitivity control for Find and Find and replace.

Related feature requests (optional)

2 posts were merged into an existing topic: Improve search current file (find) by adding selection, casing (match case), whole-word, regexp (regular expression)