I am glad you like it. The issue with cloning top levels is fixed in 1edad92fe9b8cd. It was caused by iter_all_v_items which didn't yield anything when v is c.hiddenRootNode. Now it checks for this condition and yields only rootItem.
The QtPosition class is not used yet in the prototype. I started to write it to see if it is feasible to make something to hold all traversal methods of p and generators. It is not finished yet (the generators are missing). I think that the next step should be to make some tests for prototype to eliminate all crashes. Manually I test it by running a serious of commands to create a complex trees with a lot of clones, inserting new nodes, demoting, moving right/left, especially right to get into the cloned node, or moving left from cloned node, ... then I undo each step, then redo all steps again, then I make series of undo/redo. I thought I had eliminated crashes. Do you remember the steps that lead to crash? Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3524a66f-1661-4a05-aea5-1d0f3251aca4%40googlegroups.com.
