Is there a way to edit the list of words that show up when entering a text message? I was typing something, I don't think it was in the Messaging program, when my hand slipped and a menu popped up with an option to remove one of the words from the list of saved words. I was very busy and could not stop to explore this unexpected event. I don't know how to recreate it. Does anyone know if it might have been an app specific option or can this menu be accessed through any app?

Thanks
Fred