On Mon, Aug 04, 2003 at 11:19:34PM +0200, Jean-Marc Lasgouttes wrote: > So I did that and the thing works (wow!) *but* selection is broken... > > So this is the place in my message where I say: ``John, I need your > help!''
Well, I spent some time looking and have come up with a hypothesis : Going through lyxfunc::dispatch() triggers a bv->fitCursor() call at the end of dispatch(). This invokes that infernal LFUN_PARAGRAPH_UPDATE. That resets the selection (selection.cursor = cursor). So the selection stays empty. Maybe you have the energy to test this hypothesis. As for a fix ... well ... Anyway, most likely you want to look for a "selection.cursor = cursor" getting called after the selection.cursor has been moved by LFUN_MOUSE_MOTION hope that helps, john p.s. if we wanted to be really cool we'd accept images too :) -- Khendon's Law: If the same point is made twice by the same person, the thread is over.