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 <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