Skip to content

Conversation

phil-s
Copy link
Contributor

@phil-s phil-s commented Sep 13, 2024

If the first pair of searches found a heredoc which spanned the entire region, don't perform the second pair of searches, as we already know the new region bounds.

If we do need the second pair of searches, bound the backwards search at the original region START position.

If the first pair of searches found a heredoc which spanned the entire
region, don't perform the second pair of searches, as we already know
the new region bounds.

If we do need the second pair of searches, bound the backwards search
at the original region START position.
@phil-s
Copy link
Contributor Author

phil-s commented Sep 13, 2024

N.b. this is the diff from #676 (comment)

@zonuexe zonuexe merged commit a45038d into emacs-php:master Oct 24, 2024
@zonuexe
Copy link
Member

zonuexe commented Oct 24, 2024

@phil-s
I missed your PR for a long time. I think this PR makes sense. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants