Text modification for stretch window func and doc.