This fixes part of the cursor positioning after undo.
It even seems to work sometimes in insets.

It still crashes at a pretty high rate, most often in redoParagraphs().

---

I really wonder what this function is good for anyway.

Can anybody explain me in simple words the relationship between Paragraphs
and Rows?

>From what I can tell we have, say, an InsetText, which contains a
ParagraphList and (somehow...) a LyXText, which in turn is basically a
RowList.

The RowList contain sort of 'visual' information for drawing, the
ParagraphList contains the 'physical' contents.

Is that close to reality?

If so, why do we have this awful network of pointers between these lists?

Wouldn't it be much simpler if each Paragraph contained only its own part
of the RowList (sort of 'drawing cache') and is completely ignorant of the
others? Paragraphs should contain an integer number of full rows, shouldn't
they?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to