[issue17511] Idle find function closes after each find operation

2013-03-26 Thread Kuchinsky

Kuchinsky added the comment:

Thanks, Roger. 

Unfortunately, this doesn't work for me. I'm running Windows and am using 
version 2.7.3

For me, nothing is highlighted until the 'find' window closes. This means that 
if I click 'find', nothing is highlighted even though the text has been found. 
For what it's worth, hitting 'find' repeatedly does iterate through the 
instances, I just can't see any of them until the window is closed, at which 
point I see only the most recent instance.  

I should have been more specific in my report; I mentioned line 55 because I 
think something needs to happen with regard to displaying highlighting while 
the 'find' window is still open. 

System info:
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on 
win32

--
resolution:  -> wont fix
versions:  -Python 3.2, Python 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue17511>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17511] Idle find function closes after each find operation

2013-03-26 Thread Kuchinsky

Kuchinsky added the comment:

I think I fixed it!

I used some of the code from ReplaceDialog.py to get the highlighted text to 
display. Thanks to Roger for mentioning that file!

Since the find function now does 'find again', we might want to remove the 
'find again' option from the 'Edit' menu.

Side Note: since the 'Replace' dialog includes a 'Find' function, we could 
remove both the 'Find' dialog and 'Find Again' dialog from the 'Edit' menu, 
thereby bypassing this issue entirely. We would then need to rename the 
'Replace' dialog to 'Find/Replace'. I'm not sure everyone would like that 
change, though, so I'm not going to implement it here. If anyone thinks it 
would be useful, I'll create a new thread/issue.

I've never submitted a patch before, so if I've done something incorrectly, 
please let me know!

--
resolution: wont fix -> works for me
Added file: http://bugs.python.org/file29582/SearchDialog.py

___
Python tracker 
<http://bugs.python.org/issue17511>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com