Pythonwin behavior on folded source when clicking on function browser

Chris Lyon chris.lyon at spritenote.co.uk
Wed Feb 5 09:36:10 EST 2003


I notice that pythonwin seems (to my mind) to behave strangely on
trying to go to lines in the source listing that are folded when a
function or class is selected in the function browser ( by this I mean
the list of classes and functions available by dragging the vertical
seperator bar to the right ).

Everything functions as expected when the source is fully expanded but
when code is folded then the behavior seems eratic sometimes  a
'incorrect' line is jumped to, sometimes nothing happens.

The goto function behaves as I would expect but the focus doesn't seem
to shift across to the source window if a function is selected.

I would particularly recommend htmlgen.py as a suitable source to
demonstrate the effect.

Please do not hesitate to shoot me down in flames if once more I have
been scratching my head over a failure that exists only inside it.




More information about the Python-list mailing list