-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Regex for empty lines ending with \n should highlight only empty lines #13355
Comments
Regex can be shortened to |
@Bill-Stewart I have the same question asked in #11572. For empty lines you just need Thanks |
I agree the behavior seems puzzling. It seems that the match should not include the end of non-empty lines. |
@sandy081 this seems for me fixed on 1.9.0 |
@therealmarv I still see it in insiders |
sorry! Thanks for the gif. I've first thought of marking instead of highlighting. So this is a pure cosmetic problem. btw. searching, editing (like removing) all this empty lines e.g. with multi cursor works. |
Steps to Reproduce:
^\s*$\n
Enter
to navigate matchesExpected: Only empty lines should be highlighted
Actual: Empty line and its next line are getting highlighted
The text was updated successfully, but these errors were encountered: