singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

Keep text search window open and let us edit text while jump to findings #2190

Open Sesa1988 opened 2 months ago

Sesa1988 commented 2 months ago

Is there an existing issue for this?

Use case

Hi,

Its basically the title. Currently when you click in the editor to edit your found text it will close and you have to open the search window again and type again the searched word.

Proposal

Would be nice if thr window stays open and I can edit the text and jump then to the next finding.

AtlasAutocode commented 2 months ago

I actually have done this but have not had time to look into integrating it into the shared code. It uses a search bar concept (like the toolbar) and requires external state to be maintained. The complexity of this has made me hesitate to try to integrate it into the shared code. Also, obviously, there are bugs and problems that need to be resolved. It also allows for search and replace operations that I, personally, think is essential.

Sesa1988 commented 2 months ago

I actually have done this but have not had time to look into integrating it into the shared code. It uses a search bar concept (like the toolbar) and requires external state to be maintained. The complexity of this has made me hesitate to try to integrate it into the shared code. Also, obviously, there are bugs and problems that need to be resolved. It also allows for search and replace operations that I, personally, think is essential.

Thats cool! I hope you will find the time. The replace sounds good but even only a better search would be amazing!