On Tue, Mar 30, 2004 at 11:18:42AM -0500, Angus Leeming wrote: > 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?
Maybe... maybe it has not been needed so far. Theory goes: Whatever has a dispatch should have a getStatus, so just add it.. Right now, dispatch is a bit desorganized on the LyXFunc/BufferView/Buffer level but I think it's not too bad, so 'just make it work'. Amdre'