After the computer restarted, the context was lost

I reboot my computer, cursor contents and text context are also there, but I ask him questions, one does not return results