Alfredo Braunstein <[EMAIL PROTECTED]> writes:

| File->New
| select "List" from the layout dropdown -> crash
| Cannot get a backtrace though, my gdb is still looping.
| I get it with both frontends.

The crash is here:

text.C:

// returns the minimum space a manual label needs on the screen in
pixel
int LyXText::labelFill(BufferView & bview, Row const & row) const
{
        pos_type last = row.par()->beginningOfMainBody();

        lyx::Assert(last > 0);
        ^^^^^^^^^^^^^^^^^^^^^^

        // -1 because a label ends either with a space that is in the
        label,


cvs annotate:

1.293        (levon    26-Feb-03): int LyXText::labelFill(BufferView &
bview, Row const & row) const
1.1          (larsbj   27-Sep-99): {
1.293        (levon    26-Feb-03):      pos_type last = 
row.par()->beginningOfMainBody();
1.293        (levon    26-Feb-03):
1.293        (levon    26-Feb-03):      lyx::Assert(last > 0);
1.293        (levon    26-Feb-03):
1.239        (larsbj   21-Mar-02):      // -1 because a label ends either with a space 
that is in the label,
1.15         (larsbj   13-Jan-00):      // or with the beginning of a footnote that is 
outside the label.
1.293        (levon    26-Feb-03):      --last;
1.239        (larsbj   21-Mar-02):


This change was part of the rowpainter patch.

-- 
        Lgb

Reply via email to