Archive of UserLand's first discussion group, started October 5, 1998.
Re: Recursive outline programming? (oops).
Author: firstname.lastname@example.org Posted: 4/29/1999; 7:20:57 AM Topic: Recursive outline programming? Msg #: 5412 (In response to 5393) Prev/Next: 5411 / 5413
OOOPS. Try again to show the code properly. I hope it works this time.
I took a look there and I don't think this will solve my problem. Here's the offending line from the op.getCursor docserver page: The marker is guaranteed to remain valid only as long as the window remains open, or the target remains set, and as long as the original heading has not been deleted.
That means that I can't switch to a different outline, do some things and switch back. In other words, this kind of flow
local (marker = op.getCursor())
local (old_target = target.get())
local (addr = address(op.getLineText())// go do something at the new outline op.setCursor(marker)
if (op.go(down,1) == false)
This is the kind of thing I'm trying to do. When I spoke of recursive, I meant recursive in the sense of working on different outlines, not recursively working on the same outline. Does this make sense?
Thanks again for any info.
op.go(down,1) local (a
This page was archived on 6/13/2001; 4:49:37 PM.
© Copyright 1998-2001 UserLand Software, Inc.