Repository: PowerToys
Issue: "Ctrl+F Everywhere" + "Multi Find & Highlight"
Labels: Idea-New PowerToy,Needs-Triage

## Description of the new feature / enhancement

### Usual functionality
-It can only be used with the currently active window and only where you can scroll horizontally or vertically. Like on usual browser windows or in programs. It **doesnt** automatically open links, tabs, windows. The site has to be somewhat static.

**-It can search & highlight multiple (10~) keywords at once**
-It shows keyword distribution on the right or additionally left side with a scroll bar

-It can search for sentences where you only know **part of the beginning of the sentence and part of the end** (where you dont know the middle part).
1. you type the first few letters from the beginning
2. Then press tab. Ctrl+F Everwhare automatically splits the text field to the right and adds a number in it that text field that represents the maximum symbol distance that is allowed between the beginning part and the end part.
3. Right after that the text field is split a second time to the right and you can type the end part of your search to complete it.
4. Then you press either enter to search or it searches automatically.
5. You can change the value of the number manually and change the default in the settings or it would use the last used value fot quick uses

### Enhanced functionality
-Can also use Optical Character Recognition to search & highlight for. (menu point in quick options, is not enabled at default because i guess this could take long to search the whole website) [Im not sure if OCR is even possible offline if you want to use it quickly)

### Shortcut:
Ctrl+Shift+Space for opening & closing search window
If window is active
-Type for text
-Enter for line break which indicates new word search
-Tab for jumping forward between quick options, enter for activating/deactivating
-Shift+Tab for jump back quick options
-Ctrl+Tab for splitting text field to sentence search, Ctrl+Tab again for jumping into number field to quickly change value, enter for confirming value & jumping to the next text field to complete search syntax with end word



## Scenario when this would be used?

-It searches text in programs/websites that dont have a Ctrl+F/search feature. Some programs have this feature but not in their settings or on special in-between-sites of their programs. Combined with the multi search you type 5 words and youre quicker looking for the thing you want instead of open a browser window and search 5 times because they described it differently than you thought they would.

-With that you would **enhance every program** that uses text and it **would not matter if the native Ctrl+F feature in the program/browser is either implemented at all, well implemented or badly implemented.** No browser/program extentions needed to work and no comatibility issues for addons/extentions.

(For example my Ctrl+F extention for Edge & Firefox doesnt work with in browser opened PDFs because of comaptibility issues. I used multiple extentions to find the best they all dont work in PDFs only the native Ctrl+F works.



## Supporting information

Ive noticed that there are many programs where i search for something specific in the settings and i cant find it right away. I could wait till the developers implement the feature to search but we could also use a global tool for that.

Ctrl+F everywhere wouldnt enhance Power Toys Run since theyre meant for different purposes

The functionality is easy it should just open a movable window with usual functionalities like Borwsers use for Ctrl+F
The only real difference is that you have more options such as searching and highlighting multiple words at once or sentences where you dont know the middle part.

Attached are pictures of the Firefox extentions "Multi Find" & "Multi Word Searcher"
![Ctrl+F Everywhere](https://github.com/microsoft/PowerToys/assets/100603352/81501370-1596-49b6-a876-12810b549bb2)
-
-
-
-
-
Only for sentence search with maximum symbol distance
![Firefox extention Multi Word Searcher](https://github.com/microsoft/PowerToys/assets/100603352/16c8fa91-1628-4591-96da-6bc5d05cb8ee)