José, I'd like to apply this patch. I agree with Jean-Marc that this whole 
bibitem handling is a mess (and the patch is thus not really nice), but it 
seems we're not gonna find anything better for 1.5 (see discussion on 
bugzilla).

OK?
Jürgen

Jürgen Spitzmüller wrote:
> http://bugzilla.lyx.org/show_bug.cgi?id=2758
>
> This patch addresses this bug in form of some rather ugly additional
> checks: if a bibitem is deleted, the paragraph will be merged with the
> preceeding par, if that's a bibitem par as well, else it will be reset to
> default.
>
> Furthermore, it is checked that bibitem do not occur outside pos 0.
>
> The ideal solution, instead of all these checks, would be to set the
> bibitem in the margin (like the itemize item) and thus disallow the cursor
> being placed in front of it. However, I think this is post-1.5.0 stuff, and
> my solution would do for now.
>
> However, please cast your eye on the paragraph merging code in
> handleBibitem(). I wouldn't be surprised if this could be optimized.
>
> Thanks,
> Jürgen

Reply via email to