finished text editing demo