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

"Highlight occurences" plugin doesn't work with multi-line fragments #5567

Open
hastyeagle opened this issue Jun 19, 2024 · 3 comments
Open
Labels

Comments

@hastyeagle
Copy link

It seems that Highlight occurences doesn't work if there is a line end character involved. I'd like to be able to select the last character in the previous line (CR/LF/etc.) and then continue onto the next line with whatever I'm selecting. However, it seems when I hit the line end character, it just doesn't work. Any way to get it to work with a line end character?

https://synwrite.sourceforge.net/forums/viewtopic.php?p=19234

@Alexey-T
Copy link
Owner

Somebody wants to work on plugin, to support multi-line fragments, please?

@JairoMartinezA
Copy link

JairoMartinezA commented Jun 26, 2024

Alex,

Looking into the code and reviewing the API documentation, and after some tests:
image

I think the MARKERS_ADD functionality doesn't accept "crossing to a new line", even if I increase the length parameter.

What other command do we need to use to "mark" many lines?

@Alexey-T
Copy link
Owner

yes, API don't support marker for several lines. but plugin can find proper multi-line fragments and place markers on the 1st line of match. so that user will find fragments.

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

No branches or pull requests

3 participants