edit text and echo code