finished manipulations on the keyboard to hide and show when necessary in the text edit