A method for synchronizing the contents of a line-oriented text document
and a stream-oriented text document. The line-oriented text document has
a sequence number area. The line-oriented text document listens for a
change in the content of the stream-oriented text document and vice
versa. When a change is detected in one document, listening in the other
document is suspended and a complementary document change is implemented
in the other document. Document adjustments resulting from such a
complementary change are listened for separately, and echoed similarly
into the original document.