You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, Thank you for creating and maintaining this fantastic package! It has been a great help in my flutter web project, and I truly appreciate your efforts.
Currently, the highlighting functionality works well for single words or short phrases. However, when users search for or interact with multiline sentences, the system does not return results or highlight the relevant sections in the document.
Proposed Behavior:
Allow highlighting of multiline sentences or longer text spans that match the query.
When users search or chat with the document, ensure that the entire matched section (even across multiple lines) is highlighted to provide context.
Example:
Query: "The optimization techniques include caching and parallel processing."
Current: No results or only partial words are highlighted.
Proposed: Highlight the entire multiline sentence:
"The optimization techniques include caching and parallel processing to enhance system performance."
Questions:
Is there currently support for multiline sentence highlighting?
If not, could this feature be implemented?
Thank you again for your hard work on this package. This feature would make the tool even more user-friendly and powerful. Please let me know if you need further clarification or additional details!
The text was updated successfully, but these errors were encountered:
The most challenging part of multiline search is the line ending conditions. The existence of the line-terminators such as CR, LF, or just spaces depend on PDF generator.
By the way, pdfrx's text searching uses PDF page's full text. So if you can implement some algorithm to search text on it regardless of the line terminators, you can get the corresponding text fragment (PdfPageTextFragment ) index using PdfPageText.getFragmentIndexForTextIndex.
First of all, Thank you for creating and maintaining this fantastic package! It has been a great help in my flutter web project, and I truly appreciate your efforts.
Currently, the highlighting functionality works well for single words or short phrases. However, when users search for or interact with multiline sentences, the system does not return results or highlight the relevant sections in the document.
Allow highlighting of multiline sentences or longer text spans that match the query.
When users search or chat with the document, ensure that the entire matched section (even across multiple lines) is highlighted to provide context.
Example:
Query: "The optimization techniques include caching and parallel processing."
Current: No results or only partial words are highlighted.
Proposed: Highlight the entire multiline sentence:
"The optimization techniques include caching and parallel processing to enhance system performance."
Questions:
Thank you again for your hard work on this package. This feature would make the tool even more user-friendly and powerful. Please let me know if you need further clarification or additional details!
The text was updated successfully, but these errors were encountered: