Hi Paul,
some text [[%comment ]] more text
where [[]] is an ERT box, then "more text" will look to LaTeX like
part of the comment, because LyX will (properly) not insert a line
break after the ERT box. This would IMHO be proper behavior.
Sounds like proper behavior, but there are some remarks:
1. This is totally uncontrollable for the user: if "more text" is a
long text, the user does not know where LyX will break the line -
and so it's not possible to know which text will be show up in the
output. From this point of view there would be no advantage of
this behavior, is there any reason for not inserting a line break
after ERTs?
2. Even though this behavior is proper it is risky for the user,
because there is no visual indication for a behavior which might
not be obvious or which is just triggered without knowing. Maybe
it'd be possible to gray out the text which will be gone or to do
something else to show what will happen...
Regards, Toby