[issue18590] Found text not always highlighted by Replace dialog on Windows

Saimadhav Heblikar report at bugs.python.org
Sun Dec 21 07:54:07 CET 2014


Saimadhav Heblikar added the comment:

I tested for the behaviour described in msg193895 before and after your patch. Everything remains same except as what you mentioned.

>Currently, Replace dialog Find hits are tagged with both the 'hit' and the 'sel' tag, which does not show on Windows as long as the dialog is the active window, but apparently does on other systems.  Raising the hit tag to the top (either patch) means that the visible highlight on other systems will change from 'selected' to 'found' (which are independently configurable in Idle preferences).
>
>If this not desired, the patch could be altered to use tag 'hit' on Windows and 'sel' elsewhere; change 'hit' (on Windows) to 'sel' when the dialog is closed; and configure 'hit' to look like 'sel' (so there is no visible change when closing, as on other systems).

It would be better to ensure that there is no visible change when closing.

----------

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


More information about the Python-bugs-list mailing list