ietf-tools / editor

A fully featured editor to write, review, refine and submit Internet-Drafts.
https://draftforge.ietf.org
Other
10 stars 2 forks source link

Ability to check for the same text across documents #38

Open ajeanmahoney opened 3 weeks ago

ajeanmahoney commented 3 weeks ago

Sometimes related documents will have the same text within them. For instance, two documents in a cluster may have the same text describing a header field or a code snippet. It would be helpful if there was a way to highlight this text. Perhaps the editor could select "Look for quoted text" and then select a document. DraftForge then compares the text in the selected document with the currently open document and reports:

The following passages are found in docA and docB:

HTTP relies on the notion of an "authoritative response": a 
response that has been determined by (or at the direction of)
the origin server identified within the target URI to be the 
most appropriate response for that request given the state of 
the target resource at the time of response message 
origination.

Or

No matching text found in docA and docB
NGPixel commented 1 week ago

Would this function always expect to compare 2 documents or could it apply to more documents (e.g. check in all opened documents). The implementation would change depending on the answer.

ajeanmahoney commented 1 week ago

It would be good to be able to look through multiple docs.