According to the logic of critic markup, leading/trailing spaces are meaningful. See, e.g., the example of the official critic markup documentation:
Lorem ipsum dolor{++ sit++} amet...
Here, since a new word is added, the leading space before the "sit" is relevant.
The current macros, however, discard leading/trailing spaces when committing critic markup. This leads to newly inserted words being glued to the surrounding text. Currently, when committing the change via the macro, the resulting text would be
Lorem ipsum dolorsit amet...
The expected result, instead, would be
Lorem ipsum dolor sit amet...