Andre Poenitz <[EMAIL PROTECTED]> writes:

| 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?

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

example?
 
| 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?

Apart from rebreaking and more than one lyxview issues, yes.


-- 
        Lgb

Reply via email to