<p></p>
<blockquote>
<p>The name of the option always_set_from_selected suggested it was automatic, but having had a chance to look at the PR code it appears to only happen on ctrl-f (or whatever the search shortcut is set to).</p>
</blockquote>
<p>Correct, the update of "Search phrase:" with the selected text only happens on the "reopen" event of the already visible dialog initiated by using the shortcut or menu <em>Search > Find...</em> or <em>Search > Replace...</em></p>
<blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/etkaar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/etkaar">@etkaar</a> also just noticed you made the changes in master, not in a branch, when you update can you please make the changes in a branch, that way committers can switch back from your changes to master or another set of changes easily.</p>
</blockquote>
<p>Thanks for the note, I will try that!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2695#issuecomment-748763775">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2WVAG5MUZLQ22PK2LSV3LIZANCNFSM4VDNEJ6A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3RAMQNVSK2HPDMEE3SV3LIZA5CNFSM4VDNEJ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFSQTU7Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2695#issuecomment-748763775",
"url": "https://github.com/geany/geany/pull/2695#issuecomment-748763775",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>