finish text editing of documents