On Oct 21, 2:46 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> Clones can cause cursor movements to fail to select a headline node, > even though the expected text appears in the body pane. Presumably a > dictionary lookup returns an incorrect or non-existent tree item... Indeed, a bug in removeFromDicts was responsible for the problem. This is fortunate because my other idea would have entailed a simultaneous tree traversal of both Leo's nodes and the QTreeWidget data. QTreeWidgetItems don't make that easy. This ends the tree optimization project for now. The present code will be good enough for a long time. As a result, we can say now for certain that the qt plugin will succeed. A very good day's work indeed. Edward P.S. This afternoon's experiments show that the speed of redraw_after_expand is not too important. Indeed, redraw_after_expand could simply call full_redraw without any problem at all. That's because full_redraw only draws visible nodes, and Leo's core does an excellent job of collapsing nodes automatically. I may, in fact, revert to the simpler code, and will certainly do so if any more bugs show up. It's time to move on... EKR --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
