[issue22460] idle editor: replace all in selection

2020-06-07 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
versions: +Python 3.10 -Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2017-06-22 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy
stage: needs patch -> test needed
versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2015-09-07 Thread Mark Roseman

Changes by Mark Roseman :


--
nosy: +markroseman

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2014-09-29 Thread bagrat lazaryan

bagrat lazaryan added the comment:

replacing across multiple files is something i personally considered too fancy 
for idle, but that's a great feature. the same goes for smart selections like 
selecting multiline statements. if they don't contradict idle's simplicity 
ideology they are great canditates to be implemented.

as to the editors currently implementing replace-in-selection, notepad++ is 
one. it actually does exactly what terry suggested, activating an in 
selection checkbox only if something is selected. (visual studio, and python 
tools for visual studio in particular, have some replacement and refactoring 
abilities too.)


--
now, guys, i'm very sorry that i have to return to my already mentioned 
off-topic issue: i'm not getting emails from bugtracker. not even in spam. i 
was about to file a bug on the metatracker but it seems i can't even register 
on it because i am not receiving that confirmation email to activate my 
account! i don't know if http://psf.upfronthosting.co.za/roundup/meta/issue541 
is related to my problem. it seems it might be. what am i to do?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22460
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2014-09-29 Thread Terry J. Reedy

Terry J. Reedy added the comment:

About your email problem: post to core-mentorship list and if you cannot do 
that, write to Ezio Melotti and/or R. David Murray directly, as they are 
tracker maintainers.

--
stage:  - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22460
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2014-09-26 Thread Terry J. Reedy

Terry J. Reedy added the comment:

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?

--
nosy: +terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22460
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

2014-09-22 Thread bagrat lazaryan

New submission from bagrat lazaryan:

say, for renaming a variable in a block of code, or in a function, or renaming 
a method name in a class, etc. nothing fancy here, a button in the replace 
dialog will do.
i think the proposed functionality is needed much more often than the currently 
implemented replacing within the whole file.

--
components: IDLE
messages: 227260
nosy: bagratte
priority: normal
severity: normal
status: open
title: idle editor: replace all in selection
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22460
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com