If I am in the process of creating a text document using Writer and I highlight a section of the text and then accidentally hit return, the selected text is deleted. Is there a way to recover this deleted text?De
Provided that you haven’t closed the document or LibreOffice in the meantime, the Undo button in the toolbar usually works in cases like this. Look for the left-curving arrow, or use Ctrl+Z. Depending on what else you have done since losing the text, you might have to hit Undo a number of times in order to undo the target operation.
Undo is very handy when experimenting and learning how to use various features, but I would not recommend abusing or over-using it.