Angus Leeming wrote:

>> What about the following?
> 
> Nice. Although getOutOf is a little too cute. I'd prefer getOutOfInset
> or even getCursorOutOfInset.

Ok.

> Incidentally, I've found another crash. Open up the document dialog
> and change text class. Start with the familiar ones and apply. Fine.
> Move down the list and apply. Keep doing this. Eventually you'll get
> an assert.
> 
> Assertion triggered in const LyXLayout_ptr&
> LyXTextClass::operator[](const std::string&) const by failing check
> "!name.empty()" in file ../../src/lyxtextclass.C:800
> 
>         ParIterator end = par_iterator_end(in);
>         for (ParIterator it = par_iterator_begin(in); it != end; ++it) {
>                 string const name = it->layout()->name();
> 
> It appears that the layout name gets lost.

Confirmed. It only happends with the class letter(g-brief) here (and btw I
have two of them for some reason). What about there?

Alfredo


Reply via email to