Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
There should be another CursorSlice inside the cell pointing to the
InsetText isn't it?
inset -> InsetText
pit -> paragraph inside this text
pos -> position inside the paragraph
What is wrong with the fact that all inset are multicelled, except
that multi=1 in many cases? Please to not warp the code to adapt it to
your view of the world. I would like if I find time to add other multi
celled insets.
If the CursorSlice points to an InsetTabular (i.e. inset -> tabular),
pit and pos have no signification at all.
coordinates are (idx, pit, pot). End of the story.
End of the story? Is it the way you discuss design? I had a gentle and
technical discussion with Alfredo (in which I put some IMHO to not show
that I am an arrogant bastard) and you dismiss the idea without thinking
about it. Nice.
Unless of course you assume
that a cell is mandatorily an InsetText (which it is in our case). In
this case pos and pit are really the pos and pit of the inner
InsetText. That's why I call them shortcut.
It is just that math always have pit=0 (only one paragraph).
So should have InsetTabular. End of the story.
JMarc