modify text edit