[issue17511] Idle find function closes after each find operation

Roger Serwy report at bugs.python.org
Tue Apr 9 06:46:11 CEST 2013


Roger Serwy added the comment:

I tried the patch against 2.7 and it appears to work, but might introduce another interface problem. 

The search dialog opens up as a modal window which disallows the user from changing the text. This may or may not be desirable. The technique of using the "hit" tag for highlighting the search results depends on this modal behavior, otherwise one can edit the text and "spread" the hit tag around. 

If you comment out the "grab_set" in Lib/idlelib/SearchDialogBase.py and then disable the colorizer in the editor window by pressing Ctrl+/ then you can spread the hit tag. (You can also disable the colorizer by saving to a file without a .py or .pyw extension).

Should the Search Dialog be modal?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17511>
_______________________________________


More information about the Python-bugs-list mailing list