Alfredo Braunstein wrote: > Angus Leeming wrote: > >> However, note the position of the cursor... > > The following works for me (LyXFunc.C):
Many thanks, Alfredo. Lying in bed last night, I'd got as far working out what was going on (cursor not being told where to go) but had no idea about how to handle it. As ever ;-) Incidentally, I know that LyXFunc's dispatch is the wrong place to put this lfun because it modifies the cursor and should therefore go in BufferView_pimpl's dispatch. However, BufferView_pimpl doesn't seem to have a getStatus member function. Oversight? Andre? -- Angus