On Tue, Nov 11, 2003 at 11:17:39AM +0100, Andre Poenitz spake thusly: ... > > Where should the conversion LFUN_INSERT_LABEL -> LFUN_INSET_INSERT > > take place? > > I'd just duplicate the code in factory.C. I.e:
Yes, did that. Next problem:
1) The label appears, but without label text.
2) Clicking on it brings up the label dialog; entering a label string
and pressing OK produces
LyXFunc::dispatch: cmd: action: 236 arg: 'label LatexCommand {abc}
\end_inset
' x: 0 y: 0
LCursor::dispatch:
trying to dispatch to main text 0x08b004c0
LyXText::dispatch: cmd: action: 236 arg: 'label LatexCommand {abc}
\end_inset
' x: 0 y: 0
result: 0
### NOT DISPATCHED BY Cursor::dispatch() ###
BufferView::Pimpl::fitCursor.
Action 236 is LFUN_INSET_APPLY, which appears neither in text3.C nor
in factory.C.
Ehhh, what next? ;-)
- Martin
pgp00000.pgp
Description: PGP signature
