:white_check_mark: fix spec for replacing linebreak (#408)
:bug: fix cursor move on replace with line break (#408)