How to use "repeating" in a sentence

Sentences

Marius lay for a long time between life and death in a state of fever, endlessly repeating the name of Cosette.

Also, she'd recently been plagued by a repeating dream in which Danny was alive

"You have a pretty high opinion of me," he said, repeating what she had said to him earlier.

The two words stopped repeating

When I saw how white her face was, I began to comfort her and myself by repeating all that Ogilvy had told me about the impossibility of Martians capturing the Earth.

Anne turned to him and said, 'You're a miserable impostor.' She had no idea what it meant - she was just repeating my words - but Sir P was terrified