stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.66k stars 223 forks source link

Search and select text only in the current page #971

Open erdeveloper opened 1 year ago

erdeveloper commented 1 year ago

New Feature

Search and simple select text only of all occurrences of searched text in the current page for next formatting of selected text from OneNote formatting menus.

Search options could be for example:

stevencohn commented 1 year ago

Duplicate of #847

erdeveloper commented 1 year ago

Sorry Steve, but this is not duplicate of #847 from my point of view. Issue is about selection of text only for your code change. Is not about formatting such text. Also effort for implementation will be much lower as #847. Please think about issue ones more.

stevencohn commented 1 year ago

Sorry I misunderstood. Your description says "...for next formatting of selected text from OneNote formatting menus".

If not that (which I think actually is a duplicate of #847) then what would you do once you've selected such text?

Note also that OneNote has a limitation that you can only have one contiguous selection range per paragraph. So if a match exists more than once in a single paragraph, only the first would be selected.

stevencohn commented 1 year ago

Also look at #834

stevencohn commented 1 year ago

I will consider this further. But quite honestly, this is the single most challenging request anyone could possibly have asked for. It's surprisingly more complicated than one would think. So I'll keep it on the list because I do think it's an interesting problem, but ultimately may not be worth the lift.