On Wed, Jan 07, 2004 at 03:25:29PM +0000, Angus Leeming wrote: > I found ten minutes to move the code around, so the lyx::find stuff is > now in lyxfind.[Ch] in my tree. Which dispatch function should I put > these into?
Logically, LyXText::dispatch(). However, I am not sure this will work for cases like <footnote>text text | text text</footnote> text text .... <footnote>text text searchstring text</footnote> out-of-the box. In fact, I'd expect the opposite. So as a first step you could put it in BufferView::dispatch and we'll have a second look later. Andre'