In many IDE's there is a very useful feature: if there is a selected
text when a user has opened Find And Replace dialog, then this text is
copied to the "Find:" text field.
If there is no selected text, then "Find:" text field is not changed.
I miss this feature in pgAdmin, so I attach the patch to fix it...
May be it will be useful for someone else...
--
Best regards,
Nail Samatov