Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> Angus> In LyXAction.C we have both of these. Only one can be >> Angus> correct... >> Angus> { LFUN_KMAP_TOGGLE, "keymap-toggle", ReadOnly }, >> Angus> and >> Angus> { LFUN_KEYMAP_TOGGLE, "keymap-toggle", Noop }, >> >> You are the one who knows why LFUN_KEYMAP_TOGGLE has been added... >> I do not see its usefulness. > > ...and I no longer know what it does...
Maybe you did not know LFUN_KMAP_TOGGLE when you introduced it? To me it looks like LFUN_KEYMAP_TOGGLE can be replaced by LFUN_KMAP_TOGGLE. The only place where it actuaally does something is in text3.C, and that is almost the same as LFUN_KMAP_TOGGLE does in lyxfunc.C. Georg