More good progress yesterday: - All essential features of the immediate-redraw scheme have now been demonstrated. The code continues to evolve and simplify in a pleasing manner.
At present, redraw happens only when new nodes must be created. It does not happen when an already-visible node is selected, or when the outline is collapsed. - Last night I fixed the find crasher. The fix is at rev 1392 of the api-for-redraw branch. Leo's core was not informing the qt gui that headline editing had ended. As a result, the qt gui was trying to select a deleted headline-widget: a hard python crash was the result. The initial fix was a hack to init code in the find base class. This is a band-aid. Today I'll attempt a more general fix in the qt gui. Please report any further find problems immediately. - All unit tests pass with qt gui. The '@test illegal clone demote' unit test strangely hangs with tk gui: p.subtree_iter() endless returns the illegally cloned node. I'll track this down soon: it may even happen on the trunk. To do: - Fix the scrolling bug. - Tweak Leo's core so it calls the optimized redraw_after methods when possible. We could live with the core as it is, but it probably would be less confusion to call the optimized methods consistently. That's all for this branch, aside from testing. Edward --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
