[Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Abdelrazak Younes
Hello Jean-Marc, Would you like to comment on that? I don't really understand the problem but the delete mechanism seems to work well when two BufferView shows the same buffer. Abdel. Index: text2.C === --- text2.C (revision

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello Jean-Marc, Would you like to comment on that? Abdelrazak> I don't really understand the problem but the delete Abdelrazak> mechanism seems to work well when two BufferView shows the Abde

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello Jean-Marc, Would you like to comment on that? Abdelrazak> I don't really understand the problem but the delete Abdelrazak> mechanism seems to work well when two BufferView shows the Abdelrazak> same buffer. It

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Abdelrazak Younes
José Matos wrote: On Tuesday 31 October 2006 4:09 pm, Jean-Marc Lasgouttes wrote: It is something like that: the document is 4 paragraphs. ababa <---cursor1 abababa<---cursor2 abab You move cursor 1, so that dEPM triggers and paragraph 2 is deleted. Now cursor2 points to the "abab" paragraph,

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread José Matos
On Tuesday 31 October 2006 4:09 pm, Jean-Marc Lasgouttes wrote: > > It is something like that: the document is 4 paragraphs. > > ababa > <---cursor1 > abababa<---cursor2 > abab > > You move cursor 1, so that dEPM triggers and paragraph 2 is deleted. > Now cursor2 points to the "abab" paragraph, and

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Yes but I don't get any crash, just an assertion which Abdelrazak> quite weirdly allows me to continue my work when I switch Abdelrazak> back to the other window. Basically, I think that nowadays only BufferViews hold

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread José Matos
On Tuesday 31 October 2006 4:47 pm, Abdelrazak Younes wrote: > > Yes but I don't get any crash, just an assertion which quite weirdly > allows me to continue my work when I switch back to the other window. > > Interesting... I get yet another type when playing with empty paragraph on both windows.

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> So JMarc, do you have any idea how to solve that? Maybe we Abdelrazak> can save the parid_ when the focus is out of the Abdelrazak> BufferView and move the cursor back to the saved position Abdelrazak> when the cursor

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> So JMarc, do you have any idea how to solve that? Maybe we Abdelrazak> can save the parid_ when the focus is out of the Abdelrazak> BufferView and move the cursor back to the saved position Abd

Re: [Patch] remove warning about multi-view in deleteEmptyParagraphMechanism()

2006-10-31 Thread Michael Gerz
José Matos wrote: I get yet another type when playing with empty paragraph on both windows. Assertion failed: pos <= size() const lyx::Change lyx::Paragraph::lookupChange(lyx::pos_type) const paragraph.C 1420 Assertion failed: pos >= 0 && pos <= size() const lyx::Change lyx::Paragraph::Pimpl: