Ah, my specialty in testing - the old spaz test. I get a nil object exception in FTDocument.DeleteSegment.Lot's of paragraphs. Lot's of undos, but it does appear to be a different error than my last entry.
Bob K. =======Code========= ' Get the paragraph information. sp = findParagraphByOffset(startPosition, startParagraphOffset) ep = findParagraphByOffset(endPosition, endParagraphOffset) ' Is this the same paragraph? if sp.getId = ep.getId then //<----------ep is nil FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev List Archive: www.freelists.org/archives/ftcdev Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in the subject field.