Maintain document in single slice.

Uses a slice of DecoratedText structs instead of a slice of Decoration
and a slice of strings.