In current 1.2.0cvs it's no longer possible to increase the size of
spaces in mathed using 
  C-<space> <space> <space> ...

<space> immediately after C-<space> is interpreted as usual, i.e., a
mathcursor->pop() is executed.

The attached patch seems to fix this.

  Regards,
    Eran Tromer
Index: lyx-devel/src/mathed/formulabase.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.10
diff -c -r1.10 formulabase.C
*** lyx-devel/src/mathed/formulabase.C  2001/07/07 09:19:51     1.10
--- lyx-devel/src/mathed/formulabase.C  2001/07/08 03:12:49
***************
*** 763,769 ****
  
        case LFUN_PROTECTEDSPACE:
                bv->lockedInsetStoreUndo(Undo::INSERT);
!               mathcursor->insert(new MathSpaceInset(1));
                space_on = true;
                updateLocal(bv);
                break;
--- 763,770 ----
  
        case LFUN_PROTECTEDSPACE:
                bv->lockedInsetStoreUndo(Undo::INSERT);
!               sp = new MathSpaceInset(1);  // remember current space inset
!               mathcursor->insert(sp);
                space_on = true;
                updateLocal(bv);
                break;

Reply via email to