On Fri, Mar 14, 2008 at 11:15:48PM +0100, Abdelrazak Younes wrote: > Stefan Schimanski wrote: >> Am 14.03.2008 um 15:26 schrieb Dov Feldstern: >>> Stefan Schimanski wrote: >>>> Am 14.03.2008 um 14:14 schrieb Dov Feldstern: >>>>> Hi! >>>>> >>>>> Stefan --- the completion stuff looks really, really nice. Thanks! >>>>> >>>>> It seems to me that text completion is not working in tables. Math >>>>> completion *does* work, though. Can anything be done about this? >>>> It can. But at the moment the support is only in InsetMathNest and >>>> InsetText. Have to try it for InsetTabular. Probably one can just copy >>>> the code from InsetText. >>> >>> Is the text inside a table cell not an InsetText? I sort of assumed that >>> every cell contains an InsetText for its text... >> AFAIK it only uses the Text class for every cell. Otherwise the cursor >> would need another slice for the table and the InsetText, and hence many >> special handling to avoid strange positions which are in the table, but >> not in the InsetText. > > I don't think this is a good thing personally. Cells should be insets. I am > pretty sure the code will be less complicated if that was the case.
I always thought a bit like Text == Model, InsetText == View. But of course, the metrics stuff completely defeats this... Andre'