W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

collapsing split text

From: Ly, An <An.Ly@CAI.COM>
Date: Mon, 13 Sep 1999 13:00:40 -0400
Message-ID: <F516E350BFC4D1118F7B00805FC14BC302B64DD9@usilmse2.cai.com>
To: www-amaya@w3.org

During the course of editing a document, one text element may be split into
multiple text elements. For example, when you insert other elements in the
middle of it. When the inserted elements are deleted, some split text
elements are still split, although they can be collapsed back into one text
element. This sometimes leads to confusion especially when editing in the
struct view.

Is there already a clean-up function that can go through the tree and fix
it? If not, what is the suggest way to do it (walk sibling elements while
it's text and collect them all into 1 text element?).

Thanks for your help!

Received on Friday, 17 September 1999 10:52:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:20 UTC