-
Notifications
You must be signed in to change notification settings - Fork 271
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
Substitution preview for "\#" is incorrect #1829
Comments
This is a (semi-)intentional limitation: Currently the substitution preview only processes the part of the buffer that is visible. Showing an accurate counter would require processing the entire range, which could be bad for large buffers. I am not sure whether this should be changed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue type
Environment
Emacs version: 29.1
Operating System: linux
Evil version: 1.15.0
Evil installation type: borg (git clone)
Graphical/Terminal: graphical
Tested in a
make emacs
session (see CONTRIBUTING.md): yesReproduction steps
:%s/^/\#/g
, do NOT press enter, see the preview resultExpected behavior
Shows substitution preview 0,1,2,3,... in each line
Actual behavior
Shows substitution preview 0,0,0,0,... in each line
Further notes
The final result (after pressing enter) is correct though.
The text was updated successfully, but these errors were encountered: