The 'text' directory contains the text-editing engine used by AbiWord and other AbiSuite apps. There is one subdirectory per module.
fmt/xp
(Formatter): Contains formatting and layout code, including views.
ptbl/xp
(PieceTable): Contains the editable document, implemented using piece tables.