On 11/14/07, Steve Sanbeg <ssanbeg(a)ask.com> wrote:
You can't treat it as a toggle unless you know what you're toggling, which
I don't understand.
depends on matching open/close delimiters over an entire paragraph, since
the end of the paragraph implicitly ends any
bold/italic.
What I'm suggesting is simply storing it in the tree as a toggle - neither
"bold on" nor "bold off", but just "bold toggle". Then a
secondary stage
walks the tree and matches them. And obviously in the walking it would only
walk within a paragraph block.
Steve