Georg Baum wrote: > Some time ago when lyx was crashing every second I played a bit with > const_casts. The attached patch exchanges some of them with the use > of const_iterators. It makes also Paragraph::simpleTeXOnePar const.
That's great. One of the advantages of moving to the use of an stl container to store the paragraphs is that these const_iterators actually exist. They didn't in the old code because nobody bothered to write them. > > Furthermore I think that this line in Paragraph::startTeXParParams > should be a "+=" instead of a "=": > os << "\\protect"; > column = 8; > > Is this ok, or does somebody have contradicting plans? Go for it. It makes lots of sense. -- Angus