Lars Gullik Bjønnes wrote:
> Have you tested with a lot of different documentclasses? Both with and
> without explict DefaultFont?

Yes.

> Inside insets? Nested insets?

Yes.

> If you both can confirm that this fixes the problem and does not make
> anything else worse, then ok.

I encountered that it even seems to fix an assert.

1. Open the slides template in the /templates dir
2. go to the bottom and try to open one of the ERT's

Assertion triggered in InsetBase* LyXText::editXY(LCursor&, int, int) by 
failing check "(pos != 0 && inset == pars_[pit].getInset(pos - 1)) || inset 
== pars_[pit].getInset(pos)" in file text2.C:957

This is gone with the patch (the assertion was probably due to the cursor 
misplacement).

Martin, if you could test as well, I'd apply it (or you can do it, if you 
like; after all, most of the fix was your idea).

Jürgen

Reply via email to