On Wed, 5 Dec 2001, John Levon wrote: [...] > using bv_->text means only a selection in the top-level is found. There might > be an inset whose ->getLyXText() has a selection, but we won't find it like above. > > I don't see an alternative to iterating over every inset's lyxtext to look > for a selection.
Can someone (Jürgen?) remind me why it is a Good Thing to have every inset have its own LyXText? Why can't we just use the same LyXText for everything in a given buffer? Allan. (ARRae)