This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients bagratte, terry.reedy
Date 2014-09-26.17:29:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411752588.28.0.181006018475.issue22460@psf.upfronthosting.co.za>
In-reply-to
Content
This is an interesting idea, but not a high priority.  One can selectively replace now with [Find], [Replace], and [Replace+Find] buttons. I have been thinking about improving the Search and Replace dialogs, so I will not immediately reject this.  Some additional comments follow.

A changed method name has to be replaced in all use sites, not just in the class definition.  Some editors will make replacements across multiple files.

Renaming a local variable in a def statement, or the loop variable in a for statement (using the [X] whole word option) would be good uses.

[Replace All] could be defined to only apply to a selection when there is a selection.

The new feature would be more useful if there were a 'select suite' or 'select statement' command that would, for instance, select an entire def statement if the cursor were on the first line, with the 'def' keyword.

Currently, on Windows, the 'found' highlight does not work when there is a selection.  That might be a simple fix.  There is already an issue for fixing Search dialogs.

Do you know of any other editors with this feature?
History
Date User Action Args
2014-09-26 17:29:48terry.reedysetrecipients: + terry.reedy, bagratte
2014-09-26 17:29:48terry.reedysetmessageid: <1411752588.28.0.181006018475.issue22460@psf.upfronthosting.co.za>
2014-09-26 17:29:48terry.reedylinkissue22460 messages
2014-09-26 17:29:48terry.reedycreate