[Github-comments] [geany/geany] Update Search for: <keyword-value> when user hits Ctrl+h with exisiting Replace dialog already open (#2808)

Keyikedalube Ndang notifications at xxxxx
Wed May 12 12:46:23 UTC 2021


Suppose we have a lengthy C code and want to refactor existing variable names:
```c
...
    int x_value, y_value;
...
```
1. Double click `x_value` and press `Ctrl+h`
2. Resize dialog opens with `x_value` set as **Search for:** keyword value
3. Leave the dialog open
4. Now double click `y_value` to highlight it and press `Ctrl+h`
5. Resize dialog is brought back to focus but the **Search for:** keyword isn't updated

I'd like step 5 to update the keyword value with new highlighted value from the editor.

The reason I leave the dialog open is because I want to keep track of the recent keyword that I just replaced without having to undo and redo again when I forget the last changes made to the document.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2808
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210512/403864c3/attachment.htm>


More information about the Github-comments mailing list