Paraphrasing isn't that as simple as it might be. It might be just as easy as pie for some people, but some would have it as like walking into a park, a Jurassic Park that is.
In this presented problem, it would be accurate to paraphrase them to terms and words that would most likely represent a whole phrase or clause. This is one of the many basics of paraphrasing.
So for a paraphrase of the given sentence, the paraphrase would be: "As she was writing, she had moments of thoughts between words and sentences."
Or
"She was, stuck in an interval, thinking as she was writing them down"
Or
"Occasionally stopping while she is writing is her thing"
and so on.
Syntax affects setting by making description of place and time very easy to understand.
Syntax is termed as set of processes, rules, and principles which are known to govern the structure of a sentence.
It also studies the processes and principles where there is object, subject, verb we say there is sequence of syntax.