I think I got a little closer the root of the problem. In text3.C, the case LFUN_INSERT_LABEL is not handled. So I added it:
1542 case LFUN_INDEX_PRINT:
1543 case LFUN_TOC_INSERT:
1544 case LFUN_HFILL:
1545 case LFUN_INSERT_LINE:
1546 case LFUN_INSERT_PAGEBREAK:
1547 case LFUN_INSERT_LABEL:
1548 // do nothing fancy
1550 doInsertInset(this, cmd, false, false);
1552 break;
After this, doInsertInset calls
485 InsetOld * inset = createInset(cmd);
which is in factory.C. There, however, the handling of "label" is
behind LFUN_INSET_INSERT, a different LFUN.
Where should the conversion LFUN_INSERT_LABEL -> LFUN_INSET_INSERT
take place?
- Martin
pgp00000.pgp
Description: PGP signature
