|
From: | Dmitry Gutov |
Subject: | bug#60285: xref-query-replace-in-results could show an arrow pointing to the current item being replaced |
Date: | Sat, 24 Dec 2022 19:45:01 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Severity: wishlist When you use xref-query-replace-in-results to replace some references, it'd be great if the xref buffer showed an overlay arrow (see xref--set-arrow) pointing to the reference being edited. That'd give better context about the reference that is being edited and the global progress of the query replace operation.
SGTM.Here's a patch which seems to work. It's a little tricky, though, and I'm at a loss with better variable names in some places.
Wish we had some unit tests here.
xref-replace-with-arrow.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |