Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite the highlight plugin #1501

Open
phuocng opened this issue May 6, 2023 · 3 comments
Open

Rewrite the highlight plugin #1501

phuocng opened this issue May 6, 2023 · 3 comments

Comments

@phuocng
Copy link
Member

phuocng commented May 6, 2023

No description provided.

@phuocng phuocng added this to the 4.0.0 milestone May 6, 2023
@phuocng phuocng pinned this issue May 6, 2023
@Anurag147
Copy link

Hello by when will this be completed, my organization has recently purchased this product. We primarily need a rich highlighting feature. Currently i have observed that there are lot of issues with highlighting, specially due when line break or control literals are present in document. Can you please let me know a suitable channel to discuss these issues with you?

@eli8levit
Copy link

@Anurag147 did you try to search by regex with line breaks pattern? It works for me:

 const escapedFragment = searchFragment.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
 const regexPattern = escapedFragment.replace(/\s+/g, '\\s*');

@Anurag147
Copy link

Anurag147 commented Mar 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants