[Github-comments] [geany] Find popup does not update with new highlighted text without closing and reopening it. (#758)

dmap-guru notifications at xxxxx
Sat Feb 6 17:49:42 UTC 2016


@codebrainz you have the same understanding of the OP request as me, but as @elextr pointed out, if you change the behaviour to always update the Find box on Ctrl-F, even when it's visible, when you are switching back and forth from editor to Find dialogue while searching for the _same_ text, you would have to check the Find box text each time as it would get updated for every Ctrl-F.  However, if you change the behaviour only to update the Find box on Ctrl-F when something is selected (as currently happens when "Use the current word under the cursor for Find dialogues" is unchecked), but allow this to happen when the Find dialogue is visible, that fits the OP request and covers the case of looking for the same text when switching from editor to Find dialogue.  Of course, if the user checks the "Use the current word under the cursor for Find dialogues" option, the Find box would possibly update even when nothing was selected, but you have the option to disable that.

The OP mentioned TextPad, a commercial editor which I have also used a lot.  It's Find dialogue works like the change I proposed, but AFAIK you have to select something for it to populate the Find box, so Geany (if it were modified) would be a better solution still because it has that option "Use the current word under the cursor for Find dialogues" for those that want that.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/758#issuecomment-180819989
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160206/55958e0c/attachment.html>


More information about the Github-comments mailing list