As far as I can see

LyXText(LyXText const &) is prohibited due to back pointers (so the
comment says), but operator=(LyXText const &) is allowed.

AFAICS this is not currect (do we still have back pointers: which back
pointers?)

Anyhow... the reason I am bringing this up is that the LyXText is not
really copyable (at least not with default copy assignment) since it
contains iterator variables. So when a copy is done, the iterator will
still point to  the old object...

For now I'll just create a copy assignment function, it is possible
that we should also lift the prohibition of the copy constructor.

-- 
        Lgb

Reply via email to