This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2017-09-28.04:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506571667.96.0.466225441844.issue31552@psf.upfronthosting.co.za>
In-reply-to
Content
Two concrete reasons to make the conversion: two issues are stymied by current tree.TreeNode.

1. #25090 tree.TreeNode requires an icon for every line.  Hence functions and classes get python file and director icons and they are difficult to remove.  By default, Treeview items do not get an image beside the text.

2. #20827 tree.TreeNode hardcodes single click behavior (in multiple places). TreeItems can only override or augment double clicks.  So it would be hard to keep hilites synchronized in browser and editor.  Treeview generates '<<TreeviewSelect>>' when a line is clicked on; setting the editor line can be done in a select handler.
History
Date User Action Args
2017-09-28 04:07:48terry.reedysetrecipients: + terry.reedy
2017-09-28 04:07:47terry.reedysetmessageid: <1506571667.96.0.466225441844.issue31552@psf.upfronthosting.co.za>
2017-09-28 04:07:47terry.reedylinkissue31552 messages
2017-09-28 04:07:47terry.reedycreate