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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to