From: Edward K. Ream
To: leo-editor
Sent: Friday, October 14, 2016 3:22 PM
Subject: Re: reversed iterators
On Fri, Oct 14, 2016 at 1:42 PM, 'Terry Brown' via leo-editor
wrote:
Something that just struck me. I want to add, to all the nodes on a
multi-level subtree, two c
classes-->@file leoCommands.py-->class
Commands-->c.deletePositionsInList--><< theory of operation >>
(deletePositionsInList)
It's hard to remember the argument, but the conclusion is engraved in my
bean: "the conclusion...is we must use the positions passed to
Something that just struck me. I want to add, to all the nodes on a
multi-level subtree, two child nodes. Here's the code I used:
for nd in reversed([i for i in p.subtree_iter()]): nd.insertAsLastChild().h
= 'src' nd.insertAsLastChild().h = 'clip'c.redraw()
I don't think that would have wo